Docker run normally but docker ps show nothing

Viewed 13378

docker run not working on my machine (Ubuntu 16.04).

enter image description here

3 Answers
docker run -dit ubuntu
docker exec -it ubuntu bash

OR

docker run -dit ubuntu bash

Above is the basic command. You can add ports and volumes to it as per need.

Related