Docker build is sometimes successful. when the container is successfully created, start is correct, but ps cannot see that the container has been started and cannot attach
Why does docker have this strange problem? Is there any way to debug the problem container and find out what is wrong?
Add the -d option when creating the container.