Cherry-pick particular tags of an image to save

docker save

  • Export one or more docker images to archive.
    More information: <https://docs.docker.com/engine/reference/commandline/save/>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

docker save --output {{path/to/file.tar}} {{image_name:tag1 image_name:tag2 ...}}

click the source code to copy install docker save on any operating system with command-not-found.com