Skip to content

Instantly share code, notes, and snippets.

@normalfaults
Created January 14, 2016 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save normalfaults/dc9521498a16e0948a99 to your computer and use it in GitHub Desktop.
Save normalfaults/dc9521498a16e0948a99 to your computer and use it in GitHub Desktop.
docker ps | awk '{ print $1,$2 }' | awk '{print $1 }' | xargs -I {} docker commit -p {} {$2}_container-backup
@bgrissin
Copy link

Hello Nirmal, for the restore, assuming you saw this
http://blog.docker.com/2016/01/docker-1-10-rc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment