Dockerrun-it-p823: 823xxx (project name)
Execute after entering the container
Some items cannot be found in docker ps and can only be queried in dockerps-a.
At this time, the status of the container that cannot be queried in ps is existing (0) 8 minutes ago
May I ask what the reason is, is it because of the problem of using exit when exiting?
Entering docker ps -a means listing all containers, including those that have not been started. If you want to run in the background, add a -d to the command when creating the container.