Merge pull request #2562 from thaJeztah/update-links

Update links
This commit is contained in:
Daniel Nephin 2015-12-21 08:31:39 -08:00
commit ea8cc1c3dc
14 changed files with 30 additions and 30 deletions

View File

@ -301,8 +301,8 @@ Several new configuration keys have been added to `docker-compose.yml`:
- `pid: host`, like `docker run --pid=host`, lets you reuse the same PID namespace as the host machine. - `pid: host`, like `docker run --pid=host`, lets you reuse the same PID namespace as the host machine.
- `cpuset`, like `docker run --cpuset-cpus`, lets you specify which CPUs to allow execution in. - `cpuset`, like `docker run --cpuset-cpus`, lets you specify which CPUs to allow execution in.
- `read_only`, like `docker run --read-only`, lets you mount a container's filesystem as read-only. - `read_only`, like `docker run --read-only`, lets you mount a container's filesystem as read-only.
- `security_opt`, like `docker run --security-opt`, lets you specify [security options](https://docs.docker.com/reference/run/#security-configuration). - `security_opt`, like `docker run --security-opt`, lets you specify [security options](https://docs.docker.com/engine/reference/run/#security-configuration).
- `log_driver`, like `docker run --log-driver`, lets you specify a [log driver](https://docs.docker.com/reference/run/#logging-drivers-log-driver). - `log_driver`, like `docker run --log-driver`, lets you specify a [log driver](https://docs.docker.com/engine/reference/run/#logging-drivers-log-driver).
Many bugs have been fixed, including the following: Many bugs have been fixed, including the following:

View File

@ -43,7 +43,7 @@ To run the style checks at any time run `tox -e pre-commit`.
## Submitting a pull request ## Submitting a pull request
See Docker's [basic contribution workflow](https://docs.docker.com/project/make-a-contribution/#the-basic-contribution-workflow) for a guide on how to submit a pull request for code or documentation. See Docker's [basic contribution workflow](https://docs.docker.com/opensource/workflow/make-a-contribution/#the-basic-contribution-workflow) for a guide on how to submit a pull request for code or documentation.
## Running the test suite ## Running the test suite

View File

@ -46,7 +46,7 @@ Compose has commands for managing the whole lifecycle of your application:
Installation and documentation Installation and documentation
------------------------------ ------------------------------
- Full documentation is available on [Docker's website](http://docs.docker.com/compose/). - Full documentation is available on [Docker's website](https://docs.docker.com/compose/).
- If you have any questions, you can talk in real-time with other developers in the #docker-compose IRC channel on Freenode. [Click here to join using IRCCloud.](https://www.irccloud.com/invite?hostname=irc.freenode.net&channel=%23docker-compose) - If you have any questions, you can talk in real-time with other developers in the #docker-compose IRC channel on Freenode. [Click here to join using IRCCloud.](https://www.irccloud.com/invite?hostname=irc.freenode.net&channel=%23docker-compose)
- Code repository for Compose is on [Github](https://github.com/docker/compose) - Code repository for Compose is on [Github](https://github.com/docker/compose)
- If you find any problems please fill out an [issue](https://github.com/docker/compose/issues/new) - If you find any problems please fill out an [issue](https://github.com/docker/compose/issues/new)

View File

@ -27,7 +27,7 @@ class DockerNotFoundUbuntu(UserError):
super(DockerNotFoundUbuntu, self).__init__(""" super(DockerNotFoundUbuntu, self).__init__("""
Couldn't connect to Docker daemon. You might need to install Docker: Couldn't connect to Docker daemon. You might need to install Docker:
http://docs.docker.io/en/latest/installation/ubuntulinux/ https://docs.docker.com/engine/installation/ubuntulinux/
""") """)
@ -36,7 +36,7 @@ class DockerNotFoundGeneric(UserError):
super(DockerNotFoundGeneric, self).__init__(""" super(DockerNotFoundGeneric, self).__init__("""
Couldn't connect to Docker daemon. You might need to install Docker: Couldn't connect to Docker daemon. You might need to install Docker:
http://docs.docker.io/en/latest/installation/ https://docs.docker.com/engine/installation/
""") """)

View File

@ -231,7 +231,7 @@ pull if it doesn't exist locally.
### labels ### labels
Add metadata to containers using [Docker labels](http://docs.docker.com/userguide/labels-custom-metadata/). You can use either an array or a dictionary. Add metadata to containers using [Docker labels](https://docs.docker.com/engine/userguide/labels-custom-metadata/). You can use either an array or a dictionary.
It's recommended that you use reverse-DNS notation to prevent your labels from conflicting with those used by other software. It's recommended that you use reverse-DNS notation to prevent your labels from conflicting with those used by other software.
@ -269,7 +269,7 @@ reference](env.md) for details.
### log_driver ### log_driver
Specify a logging driver for the service's containers, as with the ``--log-driver`` Specify a logging driver for the service's containers, as with the ``--log-driver``
option for docker run ([documented here](https://docs.docker.com/reference/logging/overview/)). option for docker run ([documented here](https://docs.docker.com/engine/reference/logging/overview/)).
The default value is json-file. The default value is json-file.
@ -371,8 +371,8 @@ a `volume_driver`.
> Note: No path expansion will be done if you have also specified a > Note: No path expansion will be done if you have also specified a
> `volume_driver`. > `volume_driver`.
See [Docker Volumes](https://docs.docker.com/userguide/dockervolumes/) and See [Docker Volumes](https://docs.docker.com/engine/userguide/dockervolumes/) and
[Volume Plugins](https://docs.docker.com/extend/plugins_volume/) for more [Volume Plugins](https://docs.docker.com/engine/extend/plugins_volume/) for more
information. information.
### volumes_from ### volumes_from
@ -388,7 +388,7 @@ specifying read-only access(``ro``) or read-write(``rw``).
### cpu\_shares, cpu\_quota, cpuset, domainname, entrypoint, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, privileged, read\_only, restart, stdin\_open, tty, user, working\_dir ### cpu\_shares, cpu\_quota, cpuset, domainname, entrypoint, hostname, ipc, mac\_address, mem\_limit, memswap\_limit, privileged, read\_only, restart, stdin\_open, tty, user, working\_dir
Each of these is a single value, analogous to its Each of these is a single value, analogous to its
[docker run](https://docs.docker.com/reference/run/) counterpart. [docker run](https://docs.docker.com/engine/reference/run/) counterpart.
cpu_shares: 73 cpu_shares: 73
cpu_quota: 50000 cpu_quota: 50000

View File

@ -30,8 +30,8 @@ and a `docker-compose.yml` file.
The Dockerfile defines an application's image content via one or more build The Dockerfile defines an application's image content via one or more build
commands that configure that image. Once built, you can run the image in a commands that configure that image. Once built, you can run the image in a
container. For more information on `Dockerfiles`, see the [Docker user container. For more information on `Dockerfiles`, see the [Docker user
guide](https://docs.docker.com/userguide/dockerimages/#building-an-image-from-a-dockerfile) guide](https://docs.docker.com/engine/userguide/dockerimages/#building-an-image-from-a-dockerfile)
and the [Dockerfile reference](http://docs.docker.com/reference/builder/). and the [Dockerfile reference](https://docs.docker.com/engine/reference/builder/).
3. Add the following content to the `Dockerfile`. 3. Add the following content to the `Dockerfile`.
@ -144,7 +144,7 @@ In this section, you set up the database connection for Django.
} }
These settings are determined by the These settings are determined by the
[postgres](https://registry.hub.docker.com/_/postgres/) Docker image [postgres](https://hub.docker.com/_/postgres/) Docker image
specified in `docker-compose.yml`. specified in `docker-compose.yml`.
3. Save and close the file. 3. Save and close the file.

View File

@ -35,7 +35,7 @@ Protocol (tcp or udp), e.g. `DB_PORT_5432_TCP_PROTO=tcp`
<b><i>name</i>\_NAME</b><br> <b><i>name</i>\_NAME</b><br>
Fully qualified container name, e.g. `DB_1_NAME=/myapp_web_1/myapp_db_1` Fully qualified container name, e.g. `DB_1_NAME=/myapp_web_1/myapp_db_1`
[Docker links]: http://docs.docker.com/userguide/dockerlinks/ [Docker links]: https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/
## Related Information ## Related Information

View File

@ -77,7 +77,7 @@ dependencies the Python application requires, including Python itself.
* Install the Python dependencies. * Install the Python dependencies.
* Set the default command for the container to `python app.py` * Set the default command for the container to `python app.py`
For more information on how to write Dockerfiles, see the [Docker user guide](https://docs.docker.com/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the [Dockerfile reference](http://docs.docker.com/reference/builder/). For more information on how to write Dockerfiles, see the [Docker user guide](https://docs.docker.com/engine/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the [Dockerfile reference](http://docs.docker.com/reference/builder/).
2. Build the image. 2. Build the image.

View File

@ -183,4 +183,4 @@ individuals, we have a number of open channels for communication.
* To contribute code or documentation changes: please submit a [pull request on Github](https://github.com/docker/compose/pulls). * To contribute code or documentation changes: please submit a [pull request on Github](https://github.com/docker/compose/pulls).
For more information and resources, please visit the [Getting Help project page](https://docs.docker.com/project/get-help/). For more information and resources, please visit the [Getting Help project page](https://docs.docker.com/opensource/get-help/).

View File

@ -20,11 +20,11 @@ To install Compose, do the following:
1. Install Docker Engine version 1.7.1 or greater: 1. Install Docker Engine version 1.7.1 or greater:
* <a href="https://docs.docker.com/installation/mac/" target="_blank">Mac OS X installation</a> (Toolbox installation includes both Engine and Compose) * <a href="https://docs.docker.com/engine/installation/mac/" target="_blank">Mac OS X installation</a> (Toolbox installation includes both Engine and Compose)
* <a href="https://docs.docker.com/installation/ubuntulinux/" target="_blank">Ubuntu installation</a> * <a href="https://docs.docker.com/engine/installation/ubuntulinux/" target="_blank">Ubuntu installation</a>
* <a href="https://docs.docker.com/installation/" target="_blank">other system installations</a> * <a href="https://docs.docker.com/engine/installation/" target="_blank">other system installations</a>
2. Mac OS X users are done installing. Others should continue to the next step. 2. Mac OS X users are done installing. Others should continue to the next step.

View File

@ -60,7 +60,7 @@ recreating any services which `web` depends on.
You can use Compose to deploy an app to a remote Docker host by setting the You can use Compose to deploy an app to a remote Docker host by setting the
`DOCKER_HOST`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` environment variables `DOCKER_HOST`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` environment variables
appropriately. For tasks like this, appropriately. For tasks like this,
[Docker Machine](https://docs.docker.com/machine) makes managing local and [Docker Machine](https://docs.docker.com/machine/) makes managing local and
remote Docker hosts very easy, and is recommended even if you're not deploying remote Docker hosts very easy, and is recommended even if you're not deploying
remotely. remotely.
@ -69,7 +69,7 @@ commands will work with no further configuration.
### Running Compose on a Swarm cluster ### Running Compose on a Swarm cluster
[Docker Swarm](https://docs.docker.com/swarm), a Docker-native clustering [Docker Swarm](https://docs.docker.com/swarm/), a Docker-native clustering
system, exposes the same API as a single Docker host, which means you can use system, exposes the same API as a single Docker host, which means you can use
Compose against a Swarm instance and run your apps across multiple hosts. Compose against a Swarm instance and run your apps across multiple hosts.

View File

@ -30,7 +30,7 @@ Dockerfile consists of:
RUN bundle install RUN bundle install
ADD . /myapp ADD . /myapp
That'll put your application code inside an image that will build a container with Ruby, Bundler and all your dependencies inside it. For more information on how to write Dockerfiles, see the [Docker user guide](https://docs.docker.com/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the [Dockerfile reference](http://docs.docker.com/reference/builder/). That'll put your application code inside an image that will build a container with Ruby, Bundler and all your dependencies inside it. For more information on how to write Dockerfiles, see the [Docker user guide](https://docs.docker.com/engine/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the [Dockerfile reference](https://docs.docker.com/engine/reference/builder/).
Next, create a bootstrap `Gemfile` which just loads Rails. It'll be overwritten in a moment by `rails new`. Next, create a bootstrap `Gemfile` which just loads Rails. It'll be overwritten in a moment by `rails new`.
@ -128,7 +128,7 @@ Finally, you need to create the database. In another terminal, run:
$ docker-compose run web rake db:create $ docker-compose run web rake db:create
That's it. Your app should now be running on port 3000 on your Docker daemon. If you're using [Docker Machine](https://docs.docker.com/machine), then `docker-machine ip MACHINE_VM` returns the Docker host IP address. That's it. Your app should now be running on port 3000 on your Docker daemon. If you're using [Docker Machine](https://docs.docker.com/machine/), then `docker-machine ip MACHINE_VM` returns the Docker host IP address.
## More Compose documentation ## More Compose documentation

View File

@ -28,9 +28,9 @@ to the name of your project.
Next, inside that directory, create a `Dockerfile`, a file that defines what Next, inside that directory, create a `Dockerfile`, a file that defines what
environment your app is going to run in. For more information on how to write environment your app is going to run in. For more information on how to write
Dockerfiles, see the Dockerfiles, see the
[Docker user guide](https://docs.docker.com/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the [Docker user guide](https://docs.docker.com/engine/userguide/dockerimages/#building-an-image-from-a-dockerfile) and the
[Dockerfile reference](http://docs.docker.com/reference/builder/). In this case, [Dockerfile reference](https://docs.docker.com/engine/reference/builder/). In
your Dockerfile should be: this case, your Dockerfile should be:
FROM orchardup/php5 FROM orchardup/php5
ADD . /code ADD . /code
@ -89,7 +89,7 @@ configuration at the `db` container:
With those four files in place, run `docker-compose up` inside your WordPress With those four files in place, run `docker-compose up` inside your WordPress
directory and it'll pull and build the needed images, and then start the web and directory and it'll pull and build the needed images, and then start the web and
database containers. If you're using [Docker Machine](https://docs.docker.com/machine), then `docker-machine ip MACHINE_VM` gives you the machine address and you can open `http://MACHINE_VM_IP:8000` in a browser. database containers. If you're using [Docker Machine](https://docs.docker.com/machine/), then `docker-machine ip MACHINE_VM` gives you the machine address and you can open `http://MACHINE_VM_IP:8000` in a browser.
## More Compose documentation ## More Compose documentation

View File

@ -15,9 +15,9 @@ Before you start, youll need to install the experimental build of Docker, and
$ curl -L https://experimental.docker.com/builds/Darwin/x86_64/docker-latest > /usr/local/bin/docker $ curl -L https://experimental.docker.com/builds/Darwin/x86_64/docker-latest > /usr/local/bin/docker
$ chmod +x /usr/local/bin/docker $ chmod +x /usr/local/bin/docker
- To install Machine, follow the instructions [here](http://docs.docker.com/machine/). - To install Machine, follow the instructions [here](https://docs.docker.com/machine/install-machine/).
- To install Compose, follow the instructions [here](http://docs.docker.com/compose/install/). - To install Compose, follow the instructions [here](https://docs.docker.com/compose/install/).
Youll also need a [Docker Hub](https://hub.docker.com/account/signup/) account and a [Digital Ocean](https://www.digitalocean.com/) account. Youll also need a [Docker Hub](https://hub.docker.com/account/signup/) account and a [Digital Ocean](https://www.digitalocean.com/) account.