From c733f42a17890c0f6a0998df19b716c0a26aecaf Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Wed, 25 Dec 2013 02:17:37 -0800 Subject: [PATCH] Formatting. --- .../source/docs/builders/docker.html.markdown | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/website/source/docs/builders/docker.html.markdown b/website/source/docs/builders/docker.html.markdown index ca3dee35f..e7060aa1d 100644 --- a/website/source/docs/builders/docker.html.markdown +++ b/website/source/docs/builders/docker.html.markdown @@ -40,8 +40,9 @@ no provisioners are defined, but it will effectively repackage an image. ## Configuration Reference -Configuration options are organized below into two categories: required and optional. Within -each category, the available options are alphabetized and described. +Configuration options are organized below into two categories: required and +optional. Within each category, the available options are alphabetized and +described. Required: @@ -60,13 +61,16 @@ Optional: ## Using the generated artifact -Once the tar artifact has been generated, you will likely want to import, tag, and push it to a container repository.Until packer supports management of the docker image metadata, this process is manual. For example, the following will import mycontainer-123456789.tar as the repository registry.mydomain.com/mycontainer, tagged with 'latest': +Once the tar artifact has been generated, you will likely want to import, tag, +and push it to a container repository. Until packer supports management of the +docker image metadata, this process is manual. For example, the following will +import `mycontainer-123456789.tar` to the repository +`registry.mydomain.com/mycontainer`, tagged with `latest`: -
-sudo docker import - registry.mydomain.com/mycontainer:latest < mycontainer-123456789.tar
-
+ sudo docker import - registry.mydomain.com/mycontainer:latest < mycontainer-123456789.tar -You can then add additional tags and push the image as usual with docker tag and docker push, respectively. +You can then add additional tags and push the image as usual with `docker tag` +and `docker push`, respectively. ## Dockerfiles