Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.1K
Views
How to repair docker or reinstall it?

I have done this command and now docker don't work...

How can I repair (or reintall) docker properly?

sudo rm -rf /var/lib/docker/aufs

I have try to do

apt-get install --reinstall docker

but it didn't work

this is my error message:

docker: Error response from daemon: open /var/lib/docker/aufs/layers/c14f6c4750a2a3fcfa33e6f33041bf4fce087d314fb413ee3662e6e7035fea75: no such file or directory.
over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Try this on ubuntu with docker-ce

sudo apt-get install --reinstall docker-ce
over 4 years ago · Santiago Trujillo Report

0

That was seen only with older versions of docker (issue 22343), but also more recently with 16.04.1 LTS, Docker version 1.12.1, build

It depends on which docker you are using, and on which host OS.

If you are on Ubuntu for instance, try removing docker completely (if you don't have any local work that you would want to keep)

sudo apt-get purge docker-engine
sudo apt-get autoremove --purge docker-engine
rm -rf /var/lib/docker # This deletes all images, containers, and volumes

Then install the latest docker 13.1 and see if the issue persists.

Again, this is only if you are ready to start again from a clean state, reinstalling Docker entirely.
Do not execute rm -rf /var/lib/docker without considering the consequences, or in a production environment(!).

rakeshz's answer using an apt-get install --reinstall is a safer first step.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!