Docker sq
Docker Fundamentals - Getting Started

Hints

PRO
Outline

Hints

Every time you execute docker container run it creates a new container.

If you append a --rm flag to the run command followed by the name of the image so it reads docker container run --rm [NAME-OF-IMAGE-HERE], docker will automatically remove the container when it exits.

Docker automatically assigns names to containers but you can assign names yourself using the command docker container run --name [NAME-OF-CONTAINER-HERE] [NAME-OF-IMAGE-HERE].

 

I finished! On to the next chapter