how to export images from docker code example Example: docker pack image to file docker save -o fedora-all.tar fedora