Question: After the computer restarts, the mysql container in docker cannot be restarted. I don’t know why The above steps: If sudo docker start name can restart, that is, enter: docker ps and you can see that the service you need is already started, then you don’t need to do the following steps. If it’s just like the above, then continue reading below: Solution: Delete the container that cannot be started, and then run the image again. Note that the container name has changed to mysql at this time, and it is in a closed state. It still cannot run when running the image again, but it can be started when starting the image again. Supplementary content 1. View the mount points occupied by Docker cat /proc/mounts | grep "mapper/docker" | awk '{print $2}' 2. Manually unmount the occupied mount point 3. Restart docker ps -aq | xargs -I {} docker start {} This is the end of this article on how to solve the problem of docker container startup failure. For more information about solutions to docker container startup failure, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: A Brief Analysis on the Time Carrying Problem of MySQL
>>: JavaScript implements the nine-grid mobile puzzle game
Why mention textarea specifically? Because the tex...
1. Grid layout (grid): It divides the web page in...
Table of contents Angular accomplish Calling orde...
1. Download address https://dev.mysql.com/downloa...
What is ZooKeeper ZooKeeper is a top-level projec...
Linux builds NFS server In order to achieve data ...
The first time I installed MySQL on my virtual ma...
Table of contents Identifier length limit Length ...
1. Use frameset, frame and iframe to realize mult...
Install Enter the following command to install it...
Convert code to image using html2canvas is a very...
Table of contents Step 1: Update Packages on Cent...
CSS background: background:#00ffee; //Set the back...
environment System: Ubuntu 18.04 Software: qt5.12...
1. Change the transparency to achieve the gradual...