Docker sq
Docker Fundamentals - Container Lifecycle

Visit Your Container

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

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