Skip to content

Instantly share code, notes, and snippets.

@c-vutha
Created April 1, 2020 11:32
Show Gist options
  • Select an option

  • Save c-vutha/d4fe9a102c593e3a21dadc4da7618ba9 to your computer and use it in GitHub Desktop.

Select an option

Save c-vutha/d4fe9a102c593e3a21dadc4da7618ba9 to your computer and use it in GitHub Desktop.
docker run --rm -it -v ~/volume-backup:/backup -v /var/lib/docker:/docker alpine tar cfz backup/volumes.tgz -C / docker/volumes/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment