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.
It turns out that when uninstalling docker using apt, the /var/lib/docker directory remains untouched, and the volumes will stay intact. You can simply run apt-get remove docker-ce to uninstall docker without removing your volumes.
You don't need to rebuild your Docker image in development for each tiny code change. If you mount your code into your dev container, you don't have to build a new image on every code change and iterate faster. It's a great feeling when you make changes and see the results right away!
Try this on ubuntu with docker-ce
sudo apt-get install --reinstall docker-ce
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With