Home > Operation and Maintenance > Docker > How to uninstall docker

How to uninstall docker

王林
Release: 2020-05-20 10:02:20
Original
3926 people have browsed it

How to uninstall docker

The method to uninstall docker in Linux environment is as follows:

1. Query the installed packages of docker

yum list installed | grep docker
Copy after login

2. Delete the installed packages

yum remove docker-ce.x86_64 ddocker-ce-cli.x86_64 -y
Copy after login

3. Delete image/container

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

Recommended tutorial: docker tutorial

The above is the detailed content of How to uninstall docker. 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