1. List docker containers:

docker ps

2. Backup container

docker commit -p <container-ID> backup-name

3. The backup image will be listed in the docker images list:

docker images

4. Now backup the image as a tar file:

docker save -o backup-name.tar backup-name

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.