Docker sq
Docker Fundamentals - Container Lifecycle

Visit Your Container

PRO
Outline

Visit Your Container

View current containers with $ docker container ls

To start a second program inside your container, run $ docker container exec [container name] [command]

To run a shell inside your container, run $ docker container exec -it [container name] sh

$ docker container exec ... will not run a default command - you must always specify one.

 

I finished! On to the next chapter