A container stops if the command running inside the container finishes/dies/stops.
From your screenshot I see that you haven’t defined a command to be run inside the container upon start so the container will stop immediately.
The ubuntu-image is usually used as a base for creating your own images using a Dockerfile which includes a command to be run inside the container.