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

How to force close docker

angryTom
Release: 2020-03-16 16:51:23
Original
7986 people have browsed it

How to force close docker

How to force close docker

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

ps -aux | grep docker
Copy after login

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

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

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

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!

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