Docker - create image from *.tar / load image from *.tar

7 points
Created by:

In this short article, we would like to show how to create Docker image from *.tar file.

Quick solution:

$ docker load -i /path/to/docker.tar

Practical example:

$ docker load -i my-shop-docker-1.0.0.tar
11cc734cca13: Loading layer [=================================>]  2.124kB/2.124kB
f8d08e537336: Loading layer [=================================>]    505kB/505kB
852d3e6800a7: Loading layer [=================================>]  102.2MB/102.2MB
Loaded image: my-shop:latest
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

Docker - useful wiki posts

Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂