Docker sq
Docker Fundamentals - Persisting Data

Volumes

PRO
Outline

Volumes

Running just $ docker container run -it --volume /data [image]:[tag] will mount an anonymous volume to your container at /data.

You can view all volumes with $ docker volume ls

Volumes are managed entirely by Docker, having nothing to do with the host filesystem.

 

I finished! On to the next chapter