Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve docker Container Startup failure

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Problem: after the computer is restarted, the mysql container in docker cannot be restarted. I don't know why.

The above step: if sudo docker start name can restart, that is, enter: docker ps can see that the service it needs has been enabled, then there is no need to do the following steps. If it is just like the one above, then go on to see the following:

Solution: delete the container that cannot be started, and then rerun the image.

Note that the container name has been changed to mysql at this time. When the image is turned off, it still cannot be run when the image is run again, but it can be started when the image is started again.

Content supplement

1. View the mount point occupied by docker

Cat / proc/mounts | grep "mapper/docker" | awk'{print $2}'

2. The mount point occupied by manual umount unloading

3. Start again

Docker ps-aq | xargs-I {} docker start {}

This is the end of this article on how to solve the docker container startup failure. For more information about docker container startup failure solutions, please search for previous articles or continue to browse the relevant articles below. I hope you will support me in the future!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report