Docker: save/load container using tgz file (tar.gz)

#for not running docker, use save: docker save <dockernameortag> | gzip > mycontainer.tgz #for running or paused docker, use export: docker export <dockernameortag> | gzip > mycontainer.tgz #load gunzip -c mycontainer.tgz | docker load
Deploying docker using tar.gz compression

3 Responses

During load, Docker will detect and decompress archives. See
@Blaise Kal Ecxelent!
@Blaise Kal Excelent!

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.