Minor updates to the Docker builder docs to clarify Docker support
This commit is contained in:
parent
7ff73a9d47
commit
0993f24fcf
|
@ -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.
|
||||
|
||||
Packer builds Docker containers *without* the use of
|
||||
[Dockerfiles](https://docs.docker.com/reference/builder/). By not using
|
||||
Dockerfiles, Packer is able to provision containers with portable scripts or
|
||||
[Dockerfiles](https://docs.docker.com/engine/reference/builder/). By not using
|
||||
`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
|
||||
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
|
||||
the section on [Dockerfiles](#dockerfiles).
|
||||
|
||||
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).
|
||||
If you want to use Packer to build Docker containers on another platform, use
|
||||
[Vagrant](https://www.vagrantup.com) to start a Linux environment, then run
|
||||
Packer within that environment.
|
||||
the builder only works on machines that support Docker. You can learn about
|
||||
what [platforms Docker supports and how to install onto them](https://docs.docker.com/engine/installation/) in the Docker documentation.
|
||||
|
||||
## Basic Example: Export
|
||||
|
||||
|
|
Loading…
Reference in New Issue