Docker Community Forums

Share and learn in the Docker community.

Can't start a container

Hi

When I try “docker run -d -p 80:80 docker/getting-started” container starts normally.
But if I want to run container with Ubuntu or Debian image, nothing happens.
docker run -d -p 5900:5900 ubuntu
Unable to find image ‘ubuntu:latest’ locally
latest: Pulling from library/ubuntu
da7391352a9b: Pull complete
14428a6d4bcd: Pull complete
2c2d948710f2: Pull complete
Digest: sha256:c95a8e48bf88e9849f3e0f723d9f49fa12c5a00cfc6e60d2bc99d87555295e4c
Status: Downloaded newer image for ubuntu:latest
8e47316d8163c3576c6a39fa392ab4fcdf401257add453c8b874f5e7d77649ad
Container strarts for a moment, but then shuts down without any error messages
If I go to docker desktop application, I can see created containers, but they do not start. If I create container from this application, it starts normally.
Why am I not able to run ubuntu container, that was created from CLI?
I have latest win10 with 16 gb ram, ryzen5 3600 cpu and, at least, 90gb of free disk space.