Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 967 Bytes

File metadata and controls

47 lines (29 loc) · 967 Bytes

Volumes

Manage Docker volumes. Refer to PERSISTENT to learn more about volume storage and permissions.

Use docker volume ls to list volumes.

Volume copy

Copies data from one volume to another.

make volume-cp VOLUME_FROM=<from_volume> VOLUME_TO=<to_volume>

💡 Restart containers to see changes.

Volume remove

Removes a volume by name.

make volume-rm VOLUME=<volume_name>

Volume remove (service)

Remove a volume by NAMESPACE and SERVICE.

make volume-rm-service NAMESPACE=yourproject SERVICE=storage

Volume backup (service)

Backup a volume by NAMESPACE and SERVICE at the ./backup directory.

make volume-backup-service NAMESPACE=yourproject SERVICE=storage

Volume restore (service)

Restore a volume by NAMESPACE and SERVICE at the ./backup directory.

make volume-restore-service NAMESPACE=yourproject SERVICE=storage