Docker How To Export An Image
Exporting a Docker image is easy. We are going to cover the commands you need to do this today.
You can use these commands to import, export, save, and load docker images.
| docker export | export container to tarball archive stream |
| docker import | create image from tarball, excludes history ( smaller image ) |
| docker load | load an image from tarball, includes history ( larger image ) |
| docker save | save image to tar archive stream ( includes parent layers ) |
Here are some examples showing how each of these would work.
docker load