If you want to share a Docker image, you can do so:

  • through a Docker Registry,
  • by a Docker CLI command.

Docker provides several commands to share a Docker image:

  • export: creates a .tar file from the container's file system,
  • import: creates a Docker image with the filesystem from a .tar file,
  • save: creates a .tar file from a Docker image with its history,
  • load: creates a Docker image with its history from a .tar file.

The docker load command keeps the history of the image, unlike the docker import command.

To create a container from an existing one, use docker import and docker export. …

About

Bruno Delb

Interests in the full lifecycle: design, Agile Coaching, development, testing, DevOps, Cloud, Management 3.0, ITIL. It defines me.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store