Merge pull request #8195 from tiborvass/migrate-get.docker.io

Replace get.docker.io -> get.docker.com and test.docker.io -> test.docker.com
This commit is contained in:
Tibor Vass
2014-09-24 19:06:09 -04:00
10 changed files with 48 additions and 48 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ The Docker installation configuration is equivalent to running:
```
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys\
36A1D7869245C8950F966E92D8576A8BA88D21E9
sh -c "echo deb https://get.docker.io/ubuntu docker main\
sh -c "echo deb https://get.docker.com/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
apt-get update
apt-get install lxc-docker
@@ -164,4 +164,4 @@ container:
```powershell
$containerProps = @{Name="web"; Image="node:latest"; Port="80:80"; `
Env="PORT=80"; Link="db:db"; Command="grunt"}
```
```
+2 -2
View File
@@ -32,7 +32,7 @@ course.**
- When you're on the "Configure Instance Details" step, expand the
"Advanced Details" section.
- Under "User data", select "As text".
- Enter `#include https://get.docker.io` into
- Enter `#include https://get.docker.com` into
the instance *User Data*.
[CloudInit](https://help.ubuntu.com/community/CloudInit) is part
of the Ubuntu image you chose; it will bootstrap Docker by
@@ -46,7 +46,7 @@ Security Group to allow SSH.** By default all incoming ports to your new
instance will be blocked by the AWS Security Group, so you might just
get timeouts when you try to connect.
Installing with `get.docker.io` (as above) will
Installing with `get.docker.com` (as above) will
create a service named `lxc-docker`. It will also
set up a [*docker group*](../binaries/#dockergroup) and you may want to
add the *ubuntu* user to it so that you don't have to use
+3 -3
View File
@@ -46,14 +46,14 @@ Linux kernel (it even builds on OS X!).
## Get the docker binary:
$ wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker
$ wget https://get.docker.com/builds/Linux/x86_64/docker-latest -O docker
$ chmod +x docker
> **Note**:
> If you have trouble downloading the binary, you can also get the smaller
> compressed release file:
> [https://get.docker.io/builds/Linux/x86_64/docker-latest.tgz](
> https://get.docker.io/builds/Linux/x86_64/docker-latest.tgz)
> [https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz](
> https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz)
## Run the docker daemon
+2 -2
View File
@@ -59,9 +59,9 @@ which is officially supported by Docker.
$ sudo apt-get update
$ sudo apt-get install -t wheezy-backports linux-image-amd64
2. Install Docker using the get.docker.io script:
2. Install Docker using the get.docker.com script:
`curl -sSL https://get.docker.io/ | sh`
`curl -sSL https://get.docker.com/ | sh`
## Giving non-root access
+7 -7
View File
@@ -54,7 +54,7 @@ the `lxc-docker` package.
*You may receive a warning that the package isn't trusted. Answer yes to
continue installation.*
$ sudo sh -c "echo deb https://get.docker.io/ubuntu docker main\
$ sudo sh -c "echo deb https://get.docker.com/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
$ sudo apt-get update
$ sudo apt-get install lxc-docker
@@ -63,7 +63,7 @@ continue installation.*
>
> There is also a simple `curl` script available to help with this process.
>
> $ curl -sSL https://get.docker.io/ubuntu/ | sudo sh
> $ curl -sSL https://get.docker.com/ubuntu/ | sudo sh
To verify that everything has worked as expected:
@@ -134,7 +134,7 @@ the `lxc-docker` package.
*You may receive a warning that the package isn't trusted. Answer yes to
continue installation.*
$ sudo sh -c "echo deb https://get.docker.io/ubuntu docker main\
$ sudo sh -c "echo deb https://get.docker.com/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
$ sudo apt-get update
$ sudo apt-get install lxc-docker
@@ -143,7 +143,7 @@ continue installation.*
>
> There is also a simple `curl` script available to help with this process.
>
> $ curl -sSL https://get.docker.io/ubuntu/ | sudo sh
> $ curl -sSL https://get.docker.com/ubuntu/ | sudo sh
Now verify that the installation has worked by downloading the
`ubuntu` image and launching a container.
@@ -187,7 +187,7 @@ First add the Docker repository key to your local keychain.
Add the Docker repository to your apt sources list, update and install
the `lxc-docker` package.
$ sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\
$ sudo sh -c "echo deb http://get.docker.com/ubuntu docker main\
> /etc/apt/sources.list.d/docker.list"
$ sudo apt-get update
$ sudo apt-get install lxc-docker
@@ -356,7 +356,7 @@ NetworkManager and Docker need to be restarted afterwards:
## Mirrors
You should `ping get.docker.io` and compare the
You should `ping get.docker.com` and compare the
latency to the following mirrors, and pick whichever one is best for
you.
@@ -365,7 +365,7 @@ you.
[Yandex](http://yandex.ru/) in Russia is mirroring the Docker Debian
packages, updating every 6 hours.
Substitute `http://mirror.yandex.ru/mirrors/docker/` for
`http://get.docker.io/ubuntu` in the instructions above.
`http://get.docker.com/ubuntu` in the instructions above.
For example:
$ sudo sh -c "echo deb http://mirror.yandex.ru/mirrors/docker/ docker main\
+2 -2
View File
@@ -1191,8 +1191,8 @@ folder before starting your container.
$ sudo docker run -t -i -v /var/run/docker.sock:/var/run/docker.sock -v ./static-docker:/usr/bin/docker busybox sh
By bind-mounting the docker unix socket and statically linked docker
binary (such as that provided by [https://get.docker.io](
https://get.docker.io)), you give the container the full access to create and
binary (such as that provided by [https://get.docker.com](
https://get.docker.com)), you give the container the full access to create and
manipulate the host's docker daemon.
$ sudo docker run -p 127.0.0.1:80:8080 ubuntu bash