Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
| ... | ... |
@@ -360,7 +360,7 @@ container, we need to: |
| 360 | 360 |
to `/proc/<thepid>/ns/net` |
| 361 | 361 |
- Execute `ip netns exec <somename> ....` |
| 362 | 362 |
|
| 363 |
-Please review [*Enumerating Cgroups*](#run-findpid) to learn how to find |
|
| 363 |
+Please review [*Enumerating Cgroups*](#enumerating-cgroups) to learn how to find |
|
| 364 | 364 |
the cgroup of a pprocess running in the container of which you want to |
| 365 | 365 |
measure network usage. From there, you can examine the pseudo-file named |
| 366 | 366 |
`tasks`, which containes the PIDs that are in the |
| ... | ... |
@@ -15,7 +15,7 @@ like `/var/lib/docker/repositories: permission denied` |
| 15 | 15 |
you may have an incomplete Docker installation or insufficient |
| 16 | 16 |
privileges to access docker on your machine. |
| 17 | 17 |
|
| 18 |
-Please refer to [*Installation*](../../installation/#installation-list) |
|
| 18 |
+Please refer to [*Installation*](../../installation/) |
|
| 19 | 19 |
for installation instructions. |
| 20 | 20 |
|
| 21 | 21 |
## Hello World |
| ... | ... |
@@ -24,7 +24,7 @@ Note |
| 24 | 24 |
|
| 25 | 25 |
- This example assumes you have Docker running in daemon mode. For |
| 26 | 26 |
more information please see [*Check your Docker |
| 27 |
- install*](#running-examples). |
|
| 27 |
+ install*](#check-your-docker-installation). |
|
| 28 | 28 |
- **If you don’t like sudo** then see [*Giving non-root |
| 29 | 29 |
access*](../../installation/binaries/#dockergroup) |
| 30 | 30 |
|
| ... | ... |
@@ -70,7 +70,7 @@ Note |
| 70 | 70 |
|
| 71 | 71 |
- This example assumes you have Docker running in daemon mode. For |
| 72 | 72 |
more information please see [*Check your Docker |
| 73 |
- install*](#running-examples). |
|
| 73 |
+ install*](#check-your-docker-installation). |
|
| 74 | 74 |
- **If you don’t like sudo** then see [*Giving non-root |
| 75 | 75 |
access*](../../installation/binaries/#dockergroup) |
| 76 | 76 |
|
| ... | ... |
@@ -14,9 +14,9 @@ our blog post, ["Getting to Docker |
| 14 | 14 |
There are several ways to install Docker on AWS EC2: |
| 15 | 15 |
|
| 16 | 16 |
- [*Amazon QuickStart (Release Candidate - March |
| 17 |
- 2014)*](#amazonquickstart-new) or |
|
| 18 |
-- [*Amazon QuickStart*](#amazonquickstart) or |
|
| 19 |
-- [*Standard Ubuntu Installation*](#amazonstandard) |
|
| 17 |
+ 2014)*](#amazon-quickstart-release-candidate-march-2014) or |
|
| 18 |
+- [*Amazon QuickStart*](#amazon-quickstart) or |
|
| 19 |
+- [*Standard Ubuntu Installation*](#standard-ubuntu-installation) |
|
| 20 | 20 |
|
| 21 | 21 |
**You’ll need an** [AWS account](http://aws.amazon.com/) **first, of |
| 22 | 22 |
course.** |
| ... | ... |
@@ -98,7 +98,7 @@ Repository. |
| 98 | 98 |
If you want a more hands-on installation, then you can follow the |
| 99 | 99 |
[*Ubuntu*](../ubuntulinux/#ubuntu-linux) instructions installing Docker |
| 100 | 100 |
on any EC2 instance running Ubuntu. Just follow Step 1 from [*Amazon |
| 101 |
-QuickStart*](#amazonquickstart) to pick an image (or use one of your |
|
| 101 |
+QuickStart*](#amazon-quickstart) to pick an image (or use one of your |
|
| 102 | 102 |
own) and skip the step with the *User Data*. Then continue with the |
| 103 | 103 |
[*Ubuntu*](../ubuntulinux/#ubuntu-linux) instructions. |
| 104 | 104 |
|
| ... | ... |
@@ -18,11 +18,11 @@ our blog post, ["Getting to Docker |
| 18 | 18 |
|
| 19 | 19 |
Docker is supported on the following versions of Ubuntu: |
| 20 | 20 |
|
| 21 |
-- [*Ubuntu Precise 12.04 (LTS) (64-bit)*](#ubuntu-precise) |
|
| 21 |
+- [*Ubuntu Precise 12.04 (LTS) (64-bit)*](#ubuntu-precise-1204-lts-64-bit) |
|
| 22 | 22 |
- [*Ubuntu Raring 13.04 and Saucy 13.10 (64 |
| 23 |
- bit)*](#ubuntu-raring-saucy) |
|
| 23 |
+ bit)*](#ubuntu-raring-1304-and-saucy-1310-64-bit) |
|
| 24 | 24 |
|
| 25 |
-Please read [*Docker and UFW*](#ufw), if you plan to use [UFW |
|
| 25 |
+Please read [*Docker and UFW*](#docker-and-ufw), if you plan to use [UFW |
|
| 26 | 26 |
(Uncomplicated Firewall)](https://help.ubuntu.com/community/UFW) |
| 27 | 27 |
|
| 28 | 28 |
## Ubuntu Precise 12.04 (LTS) (64-bit) |
| ... | ... |
@@ -56,7 +56,7 @@ These instructions have changed for 0.6. If you are upgrading from an |
| 56 | 56 |
earlier version, you will need to follow them again. |
| 57 | 57 |
|
| 58 | 58 |
Docker is available as a Debian package, which makes installation easy. |
| 59 |
-**See the** [*Mirrors*](#installmirrors) **section below if you are not |
|
| 59 |
+**See the** [*Mirrors*](#mirrors) **section below if you are not |
|
| 60 | 60 |
in the United States.** Other sources of the Debian packages may be |
| 61 | 61 |
faster for you to install. |
| 62 | 62 |
|
| ... | ... |
@@ -190,7 +190,7 @@ strings in the array: |
| 190 | 190 |
If you would like your container to run the same executable every time, |
| 191 | 191 |
then you should consider using `ENTRYPOINT` in |
| 192 | 192 |
combination with `CMD`. See |
| 193 |
-[*ENTRYPOINT*](#dockerfile-entrypoint). |
|
| 193 |
+[*ENTRYPOINT*](#entrypoint). |
|
| 194 | 194 |
|
| 195 | 195 |
If the user specifies arguments to `docker run` then |
| 196 | 196 |
they will override the default specified in CMD. |
| ... | ... |
@@ -854,7 +854,7 @@ to view a list of all containers. |
| 854 | 854 |
|
| 855 | 855 |
The `docker run` command can be used in combination |
| 856 | 856 |
with `docker commit` to [*change the command that a |
| 857 |
-container runs*](#cli-commit-examples). |
|
| 857 |
+container runs*](#commit-an-existing-container). |
|
| 858 | 858 |
|
| 859 | 859 |
See [*Redirect Ports*](../../../use/port_redirection/#port-redirection) |
| 860 | 860 |
for more detailed information about the `--expose`, |
| ... | ... |
@@ -27,7 +27,7 @@ managed by Docker for this purpose. When the Docker daemon starts it : |
| 27 | 27 |
docker0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx |
| 28 | 28 |
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0 |
| 29 | 29 |
|
| 30 |
-At runtime, a [*specific kind of virtual interface*](#vethxxxx-device) |
|
| 30 |
+At runtime, a [*specific kind of virtual interface*](#what-is-the-vethxxxx-device) |
|
| 31 | 31 |
is given to each container which is then bonded to the |
| 32 | 32 |
`docker0` bridge. Each container also receives a |
| 33 | 33 |
dedicated IP address from the same range as `docker0` |
| ... | ... |
@@ -40,7 +40,7 @@ There are two types of public repositories: *top-level* repositories |
| 40 | 40 |
which are controlled by the Docker team, and *user* repositories created |
| 41 | 41 |
by individual contributors. Anyone can read from these repositories – |
| 42 | 42 |
they really help people get started quickly! You could also use |
| 43 |
-[*Trusted Builds*](#using-private-repositories) if you need to keep |
|
| 43 |
+[*Trusted Builds*](#trusted-builds) if you need to keep |
|
| 44 | 44 |
control of who accesses your images, but we will only refer to public |
| 45 | 45 |
repositories in these examples. |
| 46 | 46 |
|