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
1. Introduction MySQL Group Replication (MGR for ...
1. Grammar location [=|~|~*|^~|@] /uri/ { ... } 2...
Table of contents Network Information Modify the ...
【question】 When the outer table and the inner tab...
The HTTP status code is a 3-digit code used to in...
It is troublesome to install the db2 database dir...
1. left(name,4) intercepts the 4 characters on th...
Preface The company's Ubuntu server places th...
The first tutorial for installing MySQL-5.7.19 ve...
Table of contents 1.sleep function 2. setTimeout ...
Today I received a disk alarm exception. The 50G ...
This article mainly introduces how to specify par...
Joint Index The definition of the joint index in ...
This article shares the specific code of JavaScri...
1. Download the MySQL jdbc driver (mysql-connecto...