Can't run a ubuntu docker container

Hi There,

I am trying to run a basic ubuntu docker container and after running the basic command:

$docker container run -d ubuntu:latest

I only get the container id but if I try to show the running containers ($docker container ls) the ubuntu is not there.
Any ideas what I am doing wrong?


try to use:
docker run -itd --name ubuntu ubuntu:latest

docker ps
docker ps -a