github.com/jbronn/packer@v0.1.6-0.20140120165540-8a1364dbd817/website/source/docs/post-processors/docker-push.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Docker Push Post-Processor"
     4  ---
     5  
     6  # Docker Push Post-Processor
     7  
     8  Type: `docker-push`
     9  
    10  The Docker push post-processor takes an artifact from the
    11  [docker-import](/docs/post-processors/docker-import.html) post-processor
    12  and pushes it to a Docker registry.
    13  
    14  <div class="alert alert-info alert-block">
    15  <strong>Before you use this,</strong> you must manually <code>docker login</code>
    16  to the proper repository. A future version of Packer will automate this
    17  for you, but for now you must manually do this.
    18  </div>
    19  
    20  ## Configuration
    21  
    22  This post-processor has no configuration! Simply add it to your chain
    23  of post-processors and the image will be uploaded.
    24  
    25  ## Example
    26  
    27  For an example of using docker-push, see the section on using
    28  generated artifacts from the [docker builder](/docs/builders/docker.html).