Merge pull request #4962 from jamtur01/docdoc
Minor updates to the Docker builder docs to clarify Docker support
This commit is contained in:
commit
63de443e33
|
@ -17,18 +17,16 @@ Docker. The builder starts a Docker container, runs provisioners within this
|
||||||
container, then exports the container for reuse or commits the image.
|
container, then exports the container for reuse or commits the image.
|
||||||
|
|
||||||
Packer builds Docker containers *without* the use of
|
Packer builds Docker containers *without* the use of
|
||||||
[Dockerfiles](https://docs.docker.com/reference/builder/). By not using
|
[Dockerfiles](https://docs.docker.com/engine/reference/builder/). By not using
|
||||||
Dockerfiles, Packer is able to provision containers with portable scripts or
|
`Dockerfiles`, Packer is able to provision containers with portable scripts or
|
||||||
configuration management systems that are not tied to Docker in any way. It also
|
configuration management systems that are not tied to Docker in any way. It also
|
||||||
has a simpler mental model: you provision containers much the same way you
|
has a simple mental model: you provision containers much the same way you
|
||||||
provision a normal virtualized or dedicated server. For more information, read
|
provision a normal virtualized or dedicated server. For more information, read
|
||||||
the section on [Dockerfiles](#dockerfiles).
|
the section on [Dockerfiles](#dockerfiles).
|
||||||
|
|
||||||
The Docker builder must run on a machine that has Docker installed. Therefore
|
The Docker builder must run on a machine that has Docker installed. Therefore
|
||||||
the builder only works on machines that support Docker (modern Linux machines).
|
the builder only works on machines that support Docker. You can learn about
|
||||||
If you want to use Packer to build Docker containers on another platform, use
|
what [platforms Docker supports and how to install onto them](https://docs.docker.com/engine/installation/) in the Docker documentation.
|
||||||
[Vagrant](https://www.vagrantup.com) to start a Linux environment, then run
|
|
||||||
Packer within that environment.
|
|
||||||
|
|
||||||
## Basic Example: Export
|
## Basic Example: Export
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue