After doing a docker run, it immediately stops and I can't do a docker exec

Hi Geeks,

After doing a docker run, it immediately stops and I can’t do a docker exec

Example:

`
grafeno30@alien:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
0f657c1e2a32 ubuntu:18.04 “/bin/bash” 11 minutes ago Exited (0) 10 minutes ago ubuntu

grafeno30@alien:~$ docker start ubuntu
ubuntu

grafeno30@alien:~$ docker exec -it ubuntu /bin/bash
Error response from daemon: container 0f657c1e2a32328c303e36836eeaede86ef68f424448e9bbb2c0ae7c25c25a19 is not running
`

I can’t even get into the container.

Thanks in advance