github.com/ratanraj/packer@v1.3.2/website/source/docs/post-processors/docker-save.html.md (about)

     1  ---
     2  description: |
     3      The Packer Docker Save post-processor takes an artifact from the docker
     4      builder that was committed and saves it to a file. This is similar to
     5      exporting the Docker image directly from the builder, except that it preserves
     6      the hierarchy of images and metadata.
     7  layout: docs
     8  page_title: 'Docker Save - Post-Processors'
     9  sidebar_current: 'docs-post-processors-docker-save'
    10  ---
    11  
    12  # Docker Save Post-Processor
    13  
    14  Type: `docker-save`
    15  
    16  The Packer Docker Save post-processor takes an artifact from the [docker
    17  builder](/docs/builders/docker.html) that was committed and saves it to a file.
    18  This is similar to exporting the Docker image directly from the builder, except
    19  that it preserves the hierarchy of images and metadata.
    20  
    21  We understand the terminology can be a bit confusing, but we've adopted the
    22  terminology from Docker, so if you're familiar with that, then you'll be
    23  familiar with this and vice versa.
    24  
    25  ## Configuration
    26  
    27  The configuration for this post-processor only requires one option.
    28  
    29  -   `path` (string) - The path to save the image.
    30  
    31  ## Example
    32  
    33  An example is shown below, showing only the post-processor configuration:
    34  
    35  ``` json
    36  {
    37    "type": "docker-save",
    38    "path": "foo.tar"
    39  }
    40  ```