Find the running container id docker ps Find the physical location of the container above cd /var/lib/docker/container ls -a #The IDs of all containers will be displayed here. Find the ID that cannot be stopped from being deleted (8 digits) Stop the docker service first service docker stop Deleting a physical container rm -rf /var/lib/docker/container/{id found above} Restart the Docker service service docker start Supplement: Docker exits the container without stopping the container and re-enters the running container How to exit the docker container (note that it is inside the running container at this time): Start the container1. Exit the container and end the container operation exit2. Exit the container but the container is still executing ctrl + p + q to return to the host desktopBut the container is still executing 3. How to return to a container that has exited but is still runningMethod 1: docker attach container id Method 2: docker exec -it container ID bashShell The above is my personal experience. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. If there are any mistakes or incomplete considerations, please feel free to correct me. You may also be interested in:
|
<<: Analysis and solution of the problem that MySQL instance cannot be started
>>: HTML table border control implementation code
Table of contents 1. Introduction to basic concep...
Table of contents Basic concepts of components Th...
Table of contents 1. Install axios 2. Use of axio...
I used the label tag when I was doing something re...
After the official release of Activiti7, it has f...
Preface: With the continuous development of Inter...
Note: Other machines (IP) cannot connect to the M...
Table of contents What is index pushdown? The pri...
1. Check the currently installed PHP packages yum...
CocosCreator version: 2.3.4 Most games have layer...
Table of contents Preface What is index pushdown?...
Install mysql5.7.21 in the window environment. Th...
This article records the creation of a USB boot d...
Nowadays, the screen resolution of computer monit...