Docker Ubuntu does not starta

Asked

Viewed 283 times

1

Dear Friends I created a Ubuntu container:

inserir a descrição da imagem aqui

And then I started the container

Docker start

Note that above is no error, but the container does not run as shown below

docker sem nada

1 answer

1


  • 1

    No need to reinstall. Your container’s CMD is /bin/bash, so you need to run -it to run the terminal. This happens when you run a Docker run and after the parameter image name, you define /bin/bash or when you do not determine any CMD in the case of a build your.

  • So basically I’d have to run Ubuntu with a bash ( docker run -it ubuntu bash) ?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.