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!