Docker sq
Docker Fundamentals - Persisting Data

Using Mount for Volumes

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

Using Mount for Volumes

You can create volumes using the --mount command with the type=volume key-value pair:

$ docker container run --mount type=volume,src=[volume name],destination=/data,readonly [image]:[tag]
 

I finished! On to the next chapter