Skip to content

Back up and restore a volume

Select an icon to see what it is.

Step 4 of 6

The helper disappears, the archive stays

When tar exits, the helper stops and dockerd removes it because of AutoRemove. The volume is unchanged. The archive stays on the host, outside Docker's storage, and you can copy it anywhere.

$ ls -l /srv/backup

dockerd removes container e1f2a3b4c5d6 itself (AutoRemove), no API call is made

exit code 0, then AutoRemove deletes the container