Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
| ... | ... |
@@ -45,14 +45,14 @@ In this example, we'll assume that your `docker.services` file looks something l |
| 45 | 45 |
Documentation=http://docs.docker.com |
| 46 | 46 |
After=network.target docker.socket |
| 47 | 47 |
Requires=docker.socket |
| 48 |
- |
|
| 48 |
+ |
|
| 49 | 49 |
[Service] |
| 50 | 50 |
Type=notify |
| 51 | 51 |
EnvironmentFile=-/etc/sysconfig/docker |
| 52 | 52 |
ExecStart=/usr/bin/docker -d -H fd:// $OPTIONS |
| 53 | 53 |
LimitNOFILE=1048576 |
| 54 | 54 |
LimitNPROC=1048576 |
| 55 |
- |
|
| 55 |
+ |
|
| 56 | 56 |
[Install] |
| 57 | 57 |
Also=docker.socket |
| 58 | 58 |
|
| ... | ... |
@@ -68,7 +68,7 @@ You can also set other environment variables in this file, for example, the |
| 68 | 68 |
|
| 69 | 69 |
This example overrides the default `docker.service` file. |
| 70 | 70 |
|
| 71 |
-If you are behind a HTTP proxy server, for example in corporate settings, |
|
| 71 |
+If you are behind a HTTP proxy server, for example in corporate settings, |
|
| 72 | 72 |
you will need to add this configuration in the Docker systemd service file. |
| 73 | 73 |
|
| 74 | 74 |
Copy file `/usr/lib/systemd/system/docker.service` to `/etc/systemd/system/docker/service`. |
| ... | ... |
@@ -85,7 +85,7 @@ proxying you can specify them via the `NO_PROXY` environment variable: |
| 85 | 85 |
Flush changes: |
| 86 | 86 |
|
| 87 | 87 |
$ sudo systemctl daemon-reload |
| 88 |
- |
|
| 88 |
+ |
|
| 89 | 89 |
Restart Docker: |
| 90 | 90 |
|
| 91 | 91 |
$ sudo systemctl restart docker |