Home >Operation and Maintenance >Docker >How to uninstall docker from a virtual machine
How to uninstall docker from a virtual machine?
How to uninstall docker
a. Check the installed
docker:yum list installed | grep docker
b. Delete the installation packages respectively
yum remove -y docker.x86_64 yum remove -y docker-client.x86_64 yum remove -y docker-common.x86_64
c. Delete the container image:
rm -rf /var/lib/docker
d. Reinstall it
docker: yum install docker -y
For more related tutorials, please pay attention to the docker tutorial column on the PHP Chinese website.
The above is the detailed content of How to uninstall docker from a virtual machine. For more information, please follow other related articles on the PHP Chinese website!