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