error uninstall docker

0

I do the purge in ubuntu of the docker and auto remove but at the moment of the following command:

$sudo rm -rf /var/lib/docker

I get the error: rm: you can not delete '/ var / lib / docker / aufs': Device or busy resource , I have searched for different ways but it turns out that I have not been able to completely uninstall docker ... help please on this problem

    
asked by daniel 10.09.2017 в 08:41
source

1 answer

0

sudo apt-get purge -and docker-engine sudo apt-get autoremove -y --purge docker-engine sudo apt-get autoclean

sudo apt-get purge -and docker-engine docker docker.io docker-ce sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce You have to follow the docker uninstall guide on the official docker page, but if you already did it on the outside you can follow these commands.

sudo rm -rf /var/lib/docker

sudo rm /etc/apparmor.d/docker

sudo groupdel docker

sudo rm -fr /var/run/docker.sock

They can continue to be files, to search for them

'Try find / -name '*docker*'' 

And delete these files

    
answered by 08.11.2017 в 14:02