How to uninstall docker from a virtual machine

藏色散人
Release: 2020-03-16 13:17:10
Original
4261 people have browsed it

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
Copy after login

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
Copy after login

c. Delete the container image:

rm -rf /var/lib/docker
Copy after login

d. Reinstall it

docker: yum install docker -y
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!