diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7b6e0dd39..79aee75fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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.
- `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.
-- `security_opt`, like `docker run --security-opt`, lets you specify [security options](https://docs.docker.com/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).
+- `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/engine/reference/run/#logging-drivers-log-driver).
Many bugs have been fixed, including the following:
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 62bf415c7..66224752d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -43,7 +43,7 @@ To run the style checks at any time run `tox -e pre-commit`.
## 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
diff --git a/README.md b/README.md
index c9b4729a7..b60a7eee5 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Compose has commands for managing the whole lifecycle of your application:
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)
- 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)
diff --git a/compose/cli/errors.py b/compose/cli/errors.py
index 244897f8a..ca4413bd1 100644
--- a/compose/cli/errors.py
+++ b/compose/cli/errors.py
@@ -27,7 +27,7 @@ class DockerNotFoundUbuntu(UserError):
super(DockerNotFoundUbuntu, self).__init__("""
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__("""
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/
""")
diff --git a/docs/compose-file.md b/docs/compose-file.md
index c0f2efbe5..2a6028b8c 100644
--- a/docs/compose-file.md
+++ b/docs/compose-file.md
@@ -231,7 +231,7 @@ pull if it doesn't exist locally.
### 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.
@@ -269,7 +269,7 @@ reference](env.md) for details.
### 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.
@@ -371,8 +371,8 @@ a `volume_driver`.
> Note: No path expansion will be done if you have also specified a
> `volume_driver`.
-See [Docker Volumes](https://docs.docker.com/userguide/dockervolumes/) and
-[Volume Plugins](https://docs.docker.com/extend/plugins_volume/) for more
+See [Docker Volumes](https://docs.docker.com/engine/userguide/dockervolumes/) and
+[Volume Plugins](https://docs.docker.com/engine/extend/plugins_volume/) for more
information.
### 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
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_quota: 50000
diff --git a/docs/django.md b/docs/django.md
index b503e5744..2d4fdaf99 100644
--- a/docs/django.md
+++ b/docs/django.md
@@ -30,8 +30,8 @@ and a `docker-compose.yml` file.
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
container. For more information on `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/).
+ 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/).
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
- [postgres](https://registry.hub.docker.com/_/postgres/) Docker image
+ [postgres](https://hub.docker.com/_/postgres/) Docker image
specified in `docker-compose.yml`.
3. Save and close the file.
diff --git a/docs/env.md b/docs/env.md
index d7b51ba2b..c0e03a4e2 100644
--- a/docs/env.md
+++ b/docs/env.md
@@ -35,7 +35,7 @@ Protocol (tcp or udp), e.g. `DB_PORT_5432_TCP_PROTO=tcp`
name\_NAME
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
diff --git a/docs/gettingstarted.md b/docs/gettingstarted.md
index f685bf382..bb3d51e92 100644
--- a/docs/gettingstarted.md
+++ b/docs/gettingstarted.md
@@ -77,7 +77,7 @@ dependencies the Python application requires, including Python itself.
* Install the Python dependencies.
* 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.
diff --git a/docs/index.md b/docs/index.md
index 8b32a7541..36b93a39e 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -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).
-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/).
diff --git a/docs/install.md b/docs/install.md
index 7c73baaa9..417a48c18 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -20,11 +20,11 @@ To install Compose, do the following:
1. Install Docker Engine version 1.7.1 or greater:
- * Mac OS X installation (Toolbox installation includes both Engine and Compose)
+ * Mac OS X installation (Toolbox installation includes both Engine and Compose)
- * Ubuntu installation
+ * Ubuntu installation
- * other system installations
+ * other system installations
2. Mac OS X users are done installing. Others should continue to the next step.
diff --git a/docs/production.md b/docs/production.md
index 0a5e77b52..46e221bb2 100644
--- a/docs/production.md
+++ b/docs/production.md
@@ -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
`DOCKER_HOST`, `DOCKER_TLS_VERIFY`, and `DOCKER_CERT_PATH` environment variables
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
remotely.
@@ -69,7 +69,7 @@ commands will work with no further configuration.
### 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
Compose against a Swarm instance and run your apps across multiple hosts.
diff --git a/docs/rails.md b/docs/rails.md
index d3f1707ca..e3daff25c 100644
--- a/docs/rails.md
+++ b/docs/rails.md
@@ -30,7 +30,7 @@ Dockerfile consists of:
RUN bundle install
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`.
@@ -128,7 +128,7 @@ Finally, you need to create the database. In another terminal, run:
$ 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
diff --git a/docs/wordpress.md b/docs/wordpress.md
index 15746a754..840104915 100644
--- a/docs/wordpress.md
+++ b/docs/wordpress.md
@@ -28,9 +28,9 @@ to the name of your project.
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
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/). In this case,
-your Dockerfile should be:
+[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/). In
+this case, your Dockerfile should be:
FROM orchardup/php5
ADD . /code
@@ -89,7 +89,7 @@ configuration at the `db` container:
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
-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
diff --git a/experimental/compose_swarm_networking.md b/experimental/compose_swarm_networking.md
index e3dcf6ccb..b1fb25dc4 100644
--- a/experimental/compose_swarm_networking.md
+++ b/experimental/compose_swarm_networking.md
@@ -15,9 +15,9 @@ Before you start, you’ll 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
$ 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/).
You’ll also need a [Docker Hub](https://hub.docker.com/account/signup/) account and a [Digital Ocean](https://www.digitalocean.com/) account.