1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fixed #11500 Add tip about filter proxy

fixed #11500
Add tip about filter proxy to Docker installation Guides

Signed-off-by: Deshi Xiao <xiaods@gmail.com>
This commit is contained in:
Deshi Xiao 2015-04-07 13:01:34 +08:00 committed by Deshi Xiao
parent 3588c5fbc7
commit a40f379878
2 changed files with 14 additions and 1 deletions

View file

@ -62,9 +62,16 @@ which is officially supported by Docker.
2. Restart your system. This is necessary for Debian to use your new kernel. 2. Restart your system. This is necessary for Debian to use your new kernel.
3. Install Docker using the get.docker.com script: 3. Install Docker using the get.docker.com script:
`curl -sSL https://get.docker.com/ | sh` `curl -sSL https://get.docker.com/ | sh`
>**Note**: If your company is behind a filtering proxy, you may find that the
>`apt-key`
>command fails for the Docker repo during installation. To work around this,
>add the key directly using the following:
>
> $ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
## Giving non-root access ## Giving non-root access
The `docker` daemon always runs as the `root` user and the `docker` The `docker` daemon always runs as the `root` user and the `docker`

View file

@ -114,6 +114,12 @@ install Docker using the following:
The system prompts you for your `sudo` password. Then, it downloads and The system prompts you for your `sudo` password. Then, it downloads and
installs Docker and its dependencies. installs Docker and its dependencies.
>**Note**: If your company is behind a filtering proxy, you may find that the
>`apt-key`
>command fails for the Docker repo during installation. To work around this,
>add the key directly using the following:
>
> $ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
4. Verify `docker` is installed correctly. 4. Verify `docker` is installed correctly.