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

How to uninstall docker

王林
王林Original
2020-05-20 10:02:203891browse

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

2. Delete the installed packages

yum remove docker-ce.x86_64 ddocker-ce-cli.x86_64 -y

3. Delete image/container

rm -rf /var/lib/docker

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!

Statement:
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