Home > other >  Docker startup problem
Docker startup problem

Time:09-18

Just run the container how is can't see the container automatically closed container (not added - it parameters)

CodePudding user response:

The container you just start is performed, or error quits,
Docker ps - a can see all of the container,

CodePudding user response:

I encountered such a situation, the same mirror imageA,
Execute the following command on environment A
 docker run - it imageA bash 

Can the virtual terminal normal operation in the container
B in the environment the same command
 docker run - it imageA bash 

In container terminals for 2 s or so automatic type exit exit

CodePudding user response:

Someone met such a problem? I B in the environment, restart the docker, still not solved,

CodePudding user response:

1, check the log docker logs name, and if there is no wrong
2, start time and a top command, this container is rev up, regardless of the error will not quit, -v parameter maps the log to the local, in to have a look at where is wrong, adjust the had deleted the top command line again

CodePudding user response:

Command finally you have to add/bin/bash
  • Related