I am trying to start a container with the following command
sudo docker run ubuntu
after that i checked with
sudo docker ps -a
found that the container has already exited
why is he coming out?
How can I save it in backgroud without specifying -it and attach it to the requirement?
source
share