Backup a running Docker container?
问题 Is it possible to backup a running Docker container? Is the export command suitable for doing that? 回答1: Posted by one friend in comments Hi Slava, sorry that your question was closed. For the record, Slava is talking about docker.io, a runtime for linux containers. Yes, docker export is a suitable approach. It will generate a tarball of your entire container filesystem state, and dump it on stdout. So docker export $CONTAINER_ID > $CONTAINER_ID-backup.tar will yield a usable tarball. You can