This document show you how to save an image or export a container+image and load or export it.
docker save <image-name>:<tag> > /path/to/save/the/image.tardocker load < /path/to/save/the/image.tardocker export <CONTAINER ID> > /path/to/export.tardocker cat /home/export.tar | sudo docker import - <image-name>:<tag>The exported-imported image has lost all of its history whereas the saved-loaded image still have its history and layers. This means that you cannot do any rollback to a previous layer if you export-import it while you can still do this if you save-load the whole (complete) image (you can go back to a previous layer by using docker tag
<LAYER ID><IMAGE NAME>).