mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
Fixing broken links
Formatting improvements along the way
This commit is contained in:
@@ -14,8 +14,11 @@ To create a virtual machine, you supply Docker Machine with the name of the driv
|
||||
|
||||
Since Docker runs on Linux, each VM that Docker Machine provisions relies on a
|
||||
base operating system. For convenience, there are default base operating
|
||||
systems. For the Oracle Virtual Box driver, this base operating system is <a href="https://github.com/boot2docker/boot2docker" target="_blank">boot2docker</a>. For drivers used to connect to cloud providers, the base operating system is Ubuntu 12.04+. You can change this default when you create a machine. The Docker Machine reference includes a complete [list of
|
||||
supported operating systems](drivers/os-base.md).
|
||||
systems. For the Oracle Virtual Box driver, this base operating system
|
||||
is [boot2docker](https://github.com/boot2docker/boot2docker). For drivers used
|
||||
to connect to cloud providers, the base operating system is Ubuntu 12.04+. You
|
||||
can change this default when you create a machine. The Docker Machine reference
|
||||
includes a complete [list of supported operating systems](drivers/os-base.md).
|
||||
|
||||
## IP addresses for Docker hosts
|
||||
|
||||
@@ -31,14 +34,16 @@ Before you can run a `docker` command on a machine, you need to configure your
|
||||
command-line to point to that machine. The `docker-machine env <machine-name>`
|
||||
subcommand outputs the configuration command you should use.
|
||||
|
||||
For a complete list of `docker-machine` subcommands, see the [Docker Machine subcommand reference](reference/index.md).
|
||||
For a complete list of `docker-machine` subcommands, see the
|
||||
[Docker Machine subcommand reference](/machine/reference/help.md).
|
||||
|
||||
## Custom root Certificate Authority for Registry
|
||||
|
||||
Users using their own Docker Registry will experience `x509: certificate signed by unknown authority`
|
||||
error messages if their registry is signed by custom root Certificate Authority and it is
|
||||
not registered with Docker Engine. As discussed in the [Docker Engine documentation](/engine/security/certificates/#/understanding-the-configuration)
|
||||
certificates should be placed at `/etc/docker/certs.d/hostname/ca.crt`
|
||||
Users using their own Docker Registry will experience `x509: certificate signed by unknown authority`
|
||||
error messages if their registry is signed by custom root Certificate Authority and it is
|
||||
not registered with Docker Engine. As discussed in the
|
||||
[Docker Engine documentation](/engine/security/certificates.md#understanding-the-configuration)
|
||||
certificates should be placed at `/etc/docker/certs.d/hostname/ca.crt`
|
||||
where `hostname` is your Registry server's hostname.
|
||||
|
||||
```console
|
||||
@@ -78,19 +83,19 @@ Docker Machine is still in its infancy and under active development. If you need
|
||||
help, would like to contribute, or simply want to talk about the project with
|
||||
like-minded individuals, we have a number of open channels for communication.
|
||||
|
||||
- To report bugs or file feature requests: please use the [issue tracker on
|
||||
Github](https://github.com/docker/machine/issues).
|
||||
- To talk about the project with people in real time: please join the
|
||||
`#docker-machine` channel on IRC.
|
||||
- To contribute code or documentation changes: please [submit a pull request on
|
||||
Github](https://github.com/docker/machine/pulls).
|
||||
- To report bugs or file feature requests: please use the
|
||||
[issue tracker on Github](https://github.com/docker/machine/issues).
|
||||
- To talk about the project with people in real time: please join the
|
||||
`#docker-machine` channel on IRC.
|
||||
- To contribute code or documentation changes: please
|
||||
[submit a pull request on Github](https://github.com/docker/machine/pulls).
|
||||
|
||||
For more information and resources, please visit
|
||||
[our help page](/opensource/get-help.md).
|
||||
|
||||
## Where to go next
|
||||
|
||||
- Create and run a Docker host on your [local system using VirtualBox](get-started.md)
|
||||
- Provision multiple Docker hosts [on your cloud provider](get-started-cloud.md)
|
||||
- <a href="../drivers/" target="_blank">Docker Machine driver reference</a>
|
||||
- <a href="../reference/" target="_blank">Docker Machine subcommand reference</a>
|
||||
- Create and run a Docker host on your [local system using VirtualBox](get-started.md)
|
||||
- Provision multiple Docker hosts [on your cloud provider](get-started-cloud.md)
|
||||
- [Docker Machine driver reference](/machine/drivers.md){: target="_blank" class="_"}
|
||||
- [Docker Machine subcommand reference](/machine/reference/help.md){: target="_blank" class="_"}
|
||||
|
||||
@@ -51,8 +51,9 @@ driver for Oracle VirtualBox](drivers/virtualbox.md).) Note that you can run
|
||||
both HyperKit and Oracle VirtualBox on the same system. To learn more, see
|
||||
[Docker for Mac vs. Docker Toolbox](/docker-for-mac/docker-toolbox/).
|
||||
|
||||
* Make sure you have <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank">the latest VirtualBox</a> correctly installed on your system
|
||||
(either as part of an earlier Toolbox install, or manual install).
|
||||
* Make sure you have [the latest VirtualBox](https://www.virtualbox.org/wiki/Downloads){: target="_blank" class="_"}
|
||||
correctly installed on your system (either as part of an earlier Toolbox install,
|
||||
or manual install).
|
||||
|
||||
#### If you are using Docker Toolbox
|
||||
|
||||
@@ -60,23 +61,23 @@ Docker for Mac and Docker for Windows both require newer versions of their
|
||||
respective operating systems, so users with older OS versions must use Docker
|
||||
Toolbox.
|
||||
|
||||
* If you are using Docker Toolbox on either Mac or an older version Windows system (without Hyper-V), you will use the `virtualbox` driver to create
|
||||
a local machine based on Oracle <a href= "https://www.virtualbox.org/"
|
||||
target="_blank">VirtualBox</a>. (See the [Docker Machine driver for Oracle
|
||||
VirtualBox](drivers/virtualbox.md) )
|
||||
<br />
|
||||
* If you are using Docker Toolbox on a Windows system that has Hyper-V but cannot run Docker for Windows (for example Windows 8 Pro), you must use the
|
||||
`hyperv` driver to create local machines. (See the [Docker Machine driver for
|
||||
Microsoft Hyper-V](drivers/hyper-v.md).)
|
||||
<br />
|
||||
* Make sure you have <a href="https://www.virtualbox.org/wiki/Downloads" target="_blank">the latest VirtualBox</a> correctly installed on your system. If
|
||||
you used <a href="https://www.docker.com/products/docker-toolbox"
|
||||
target="_blank">Toolbox</a> for <a
|
||||
href="/engine/installation/mac/" target="_blank">Mac</a>
|
||||
or <a href="/engine/installation/windows/"
|
||||
target="_blank">Windows</a> to install Docker Machine, VirtualBox is
|
||||
automatically installed.
|
||||
<br />
|
||||
* If you are using Docker Toolbox on either Mac or an older version Windows system
|
||||
(without Hyper-V), you will use the `virtualbox` driver to create a local
|
||||
machine based on Oracle [VirtualBox(https://www.virtualbox.org/){: target="_blank" class="_"}.
|
||||
(See the [Docker Machine driver for Oracle VirtualBox](drivers/virtualbox.md).)
|
||||
|
||||
* If you are using Docker Toolbox on a Windows system that has Hyper-V but cannot
|
||||
run Docker for Windows (for example Windows 8 Pro), you must use the
|
||||
`hyperv` driver to create local machines. (See the
|
||||
[Docker Machine driver for Microsoft Hyper-V](drivers/hyper-v.md).)
|
||||
|
||||
* Make sure you have [the latest VirtualBox](https://www.virtualbox.org/wiki/Downloads){: target="_blank" class="_"}
|
||||
correctly installed on your system. If you used
|
||||
[Toolbox]("https://www.docker.com/products/docker-toolbox"){: target="_blank" class="_"}
|
||||
or [Docker for Windows](/docker-for-windows/index.md){: target="_blank" class="_"}
|
||||
to install Docker Machine, VirtualBox is
|
||||
automatically installed.
|
||||
|
||||
* If you used the Quickstart Terminal to launch your first machine and set your terminal environment to point to it, a default machine was automatically
|
||||
created. If this is the case, you can still follow along with these steps, but
|
||||
create another machine and name it something other than "default" (e.g., staging
|
||||
@@ -138,7 +139,7 @@ choose another name for this new machine.
|
||||
Docker is up and running!
|
||||
To see how to connect Docker to this machine, run: docker-machine env default
|
||||
|
||||
This command downloads a lightweight Linux distribution (<a href="https://github.com/boot2docker/boot2docker" target="_blank">boot2docker</a>) with the Docker daemon installed, and creates and starts a VirtualBox VM with Docker running.
|
||||
This command downloads a lightweight Linux distribution ([boot2docker](https://github.com/boot2docker/boot2docker){: target="_blank" class="_"}) with the Docker daemon installed, and creates and starts a VirtualBox VM with Docker running.
|
||||
|
||||
4. List available machines again to see your newly minted machine.
|
||||
|
||||
@@ -164,7 +165,7 @@ choose another name for this new machine.
|
||||
|
||||
**Note**: If you are using `fish`, or a Windows shell such as
|
||||
Powershell/`cmd.exe` the above method will not work as described.
|
||||
Instead, see <a href="/machine/reference/env/" target="_blank">the `env` command's documentation</a>
|
||||
Instead, see [the `env` command's documentation](/machine/reference/env.md){: target="_blank" class="_"}
|
||||
to learn how to set the environment variables for your shell.
|
||||
|
||||
This sets environment variables for the current shell that the Docker client will read which specify the TLS settings. You need to do this each time you open a new shell or restart your machine.
|
||||
@@ -193,7 +194,7 @@ Run a container with `docker run` to verify your set up.
|
||||
$ docker-machine ip default
|
||||
192.168.99.100
|
||||
|
||||
3. Run a webserver (<a href="https://www.nginx.com/" target="_blank">nginx</a>) in a container with the following command:
|
||||
3. Run a [Nginx](https://www.nginx.com/){: target="_blank" class="_"} webserver in a container with the following command:
|
||||
|
||||
$ docker run -d -p 8000:80 nginx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user