Home > other >  Docker container startup fails, ask for help
Docker container startup fails, ask for help

Time:09-22

Start the container by docker start the container Id fails, the problem is described below

Then look at logs,


Through the servername log know to configure apache, but now the container are not start, how to modify,

So he is going to/var/lib/docker aufs/diff find the id corresponding to the file data, but can't find, how make this kind of circumstance, ask god help!!!!!!!!!!

CodePudding user response:

My personal ability to shallow, can't help you,




CodePudding user response:

Can modify the docker run CMD part for sh, or ping www.csdn.net,
Then docker exec - ti your container sh,
Look at the run. Sh and modified,

CodePudding user response:

Run in the image. The problem of sh, changes in containers is meaningless, only to change the container, the next docker run a new container is the same situation again, suggest to build
Modify the container can be directly into the docker graph directory,
Vi $(docker inspect - f {{. GraphDriver. Date. LowerDir}} ${containerid})/run. The sh
Then
Docker start at ${containerid}
Try to
Another stop container using the exec is unable to log in
  • Related