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