Skip to content

Back up and restore a volume

Select an icon to see what it is.

Step 2 of 6

Both directories appear inside the helper

runc bind-mounts the volume's directory onto /data and the host directory onto /backup in the helper's mount namespace. The helper now sees the volume's files and a place to write on the host. No data has moved yet.

bind mount

/var/lib/docker/volumes/appdata/_data -> /data