save file in docker code example Example: docker pack image to file docker save -o fedora-all.tar fedora