Home  >  Article  >  Operation and Maintenance  >  How to force close docker

How to force close docker

angryTom
angryTomOriginal
2020-03-16 16:51:237932browse

How to force close docker

How to force close docker

Method 1: Enter the command in the command line terminal:

ps -aux | grep docker

Look at the PID of the docker daemon process from the output information, and then use the command:

killall 进程名称
# 或者 
kill -9 进程PID值

to kill the process.

Method 2: Use the service and systemctl commands to shut down the docker daemon process

service docker stop
# 或
systemctl stop docker

PHP Chinese website, a large number of docker operation and maintenance tutorials and laravel tutorials, Welcome to learn!

The above is the detailed content of How to force close 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