docker docker uninstall linux installation

Using yum docker mounting (mounting process can refer linux installation docker ), To uninstall docker can click the steps:

1, view the current status of docker

If you are running the state stopped

systemctl stop docker

 

2, see the yum install package docker

 yum list installed |grep docker

View docker relevant source file rpm

rpm -qa |grep docker

3, delete all the files installed packages docker

yum -y remove docker.x86_64

 Other relevant installation package docker same deletion, deleted after completion can then view the docker rpm source

rpm -qa |grep docker

4, delete docker image file, by default in / var / lib / docker directory 

 

Delete the above docker directory

rm -rf /var/lib/docker

 

 This docker uninstall is complete

 

Guess you like

Origin www.cnblogs.com/kingsonfu/p/11582495.html