github.com/askholme/packer@v0.7.2-0.20140924152349-70d9566a6852/website/source/docs/post-processors/docker-save.html.markdown (about)

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