Docker Compose volumes: bind vs named
Bind mounts and named volumes in Docker Compose: which to use for config and for data, the file permission traps, and how to inspect, back up and migrate.
Filtering by topic #volumes · clear
Bind mounts and named volumes in Docker Compose: which to use for config and for data, the file permission traps, and how to inspect, back up and migrate.
Find the Nextcloud data directory inside the container, the host path behind the volume, and everything else a restorable backup needs beyond user files.
stop keeps your containers, down removes them and the project network, and neither one deletes a named volume. Only the volumes flag destroys data.
Your VPS disk is full and Docker is holding it. Find which of images, containers, build cache or volumes has the space, then prune it without losing data.
Docker Compose deploy guides stop at the login screen. Here is the rest: what to dump, which volumes to capture, how to prove a restore, and how to upgrade.
Attach a second disk to a Linux VPS: find the device with lsblk, make a filesystem, mount it, and persist it in /etc/fstab by UUID with nofail.