Browse code

Updating hashcode links to commands

Signed-off-by: Mary Anthony <mary@docker.com>

Mary Anthony authored on 2015/08/19 04:25:59
Showing 4 changed files
... ...
@@ -57,7 +57,7 @@ These options :
57 57
 - Set `tls` to true with the server certificate and key specified using `--tlscert` and `--tlskey` respectively
58 58
 - Listen for connections on `tcp://192.168.59.3:2376`
59 59
 
60
-The command line reference has the [complete list of daemon flags](/reference/commandline/cli/#daemon)
60
+The command line reference has the [complete list of daemon flags](/reference/commandline/daemon)
61 61
 with explanations.
62 62
 
63 63
 ## Ubuntu
... ...
@@ -114,7 +114,7 @@ These options :
114 114
 - Set `tls` to true with the server certificate and key specified using `--tlscert` and `--tlskey` respectively
115 115
 - Listen for connections on `tcp://192.168.59.3:2376`
116 116
 
117
-The command line reference has the [complete list of daemon flags](/reference/commandline/cli/#daemon)
117
+The command line reference has the [complete list of daemon flags](/reference/commandline/daemon)
118 118
 with explanations.
119 119
 
120 120
 
... ...
@@ -207,7 +207,7 @@ These options :
207 207
 - Set `tls` to true with the server certificate and key specified using `--tlscert` and `--tlskey` respectively
208 208
 - Listen for connections on `tcp://192.168.59.3:2376`
209 209
 
210
-The command line reference has the [complete list of daemon flags](/reference/commandline/cli/#daemon)
210
+The command line reference has the [complete list of daemon flags](/reference/commandline/daemon)
211 211
 with explanations.
212 212
 
213 213
 5. Save and close the file.
... ...
@@ -25,7 +25,7 @@ Dockerfile knowledge with the [Dockerfile tutorial](/userguide/level1).
25 25
 
26 26
 ## Usage
27 27
 
28
-To [*build*](/reference/commandline/cli/#build) an image from a source repository,
28
+To [*build*](/reference/commandline/build) an image from a source repository,
29 29
 create a description file called `Dockerfile` at the root of your repository.
30 30
 This file will describe the steps to assemble the image.
31 31
 
... ...
@@ -890,7 +890,7 @@ containers. The value can be a JSON array, `VOLUME ["/var/log/"]`, or a plain
890 890
 string with multiple arguments, such as `VOLUME /var/log` or `VOLUME /var/log
891 891
 /var/db`.  For more information/examples and mounting instructions via the
892 892
 Docker client, refer to 
893
-[*Share Directories via Volumes*](/userguide/dockervolumes/#volume)
893
+[*Share Directories via Volumes*](/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume)
894 894
 documentation.
895 895
 
896 896
 The `docker run` command initializes the newly created volume with any data 
... ...
@@ -23,7 +23,7 @@ its own networking, and its own isolated process tree.  The
23 23
 defaults related to the binary to run, the networking to expose, and
24 24
 more, but `docker run` gives final control to the operator who starts
25 25
 the container from the image. That's the main reason
26
-[*run*](/reference/commandline/cli/#run) has more options than any
26
+[*run*](/reference/commandline/run) has more options than any
27 27
 other `docker` command.
28 28
 
29 29
 ## General form
... ...
@@ -87,7 +87,7 @@ In detached mode (`-d=true` or just `-d`), all I/O should be done
87 87
 through network connections or shared volumes because the container is
88 88
 no longer listening to the command line where you executed `docker run`.
89 89
 You can reattach to a detached container with `docker`
90
-[*attach*](/reference/commandline/cli/#attach). If you choose to run a
90
+[*attach*](/reference/commandline/attach). If you choose to run a
91 91
 container in the detached mode, then you cannot use the `--rm` option.
92 92
 
93 93
 ### Foreground
... ...
@@ -360,8 +360,8 @@ Using the `--restart` flag on Docker run you can specify a restart policy for
360 360
 how a container should or should not be restarted on exit.
361 361
 
362 362
 When a restart policy is active on a container, it will be shown as either `Up`
363
-or `Restarting` in [`docker ps`](/reference/commandline/cli/#ps). It can also be
364
-useful to use [`docker events`](/reference/commandline/cli/#events) to see the
363
+or `Restarting` in [`docker ps`](/reference/commandline/ps). It can also be
364
+useful to use [`docker events`](/reference/commandline/events) to see the
365 365
 restart policy in effect.
366 366
 
367 367
 Docker supports the following restart policies:
... ...
@@ -417,7 +417,7 @@ You can specify the maximum amount of times Docker will try to restart the
417 417
 container when using the **on-failure** policy.  The default is that Docker
418 418
 will try forever to restart the container. The number of (attempted) restarts
419 419
 for a container can be obtained via [`docker inspect`](
420
-/reference/commandline/cli/#inspect). For example, to get the number of restarts
420
+/reference/commandline/inspect). For example, to get the number of restarts
421 421
 for container "my-container";
422 422
 
423 423
     $ docker inspect -f "{{ .RestartCount }}" my-container
... ...
@@ -1048,7 +1048,7 @@ variables automatically:
1048 1048
 
1049 1049
 The container may also include environment variables defined
1050 1050
 as a result of the container being linked with another container. See
1051
-the [*Container Links*](/userguide/dockerlinks/#container-linking)
1051
+the [*Container Links*](/userguide/dockerlinks/#connect-with-the-linking-system)
1052 1052
 section for more details.
1053 1053
 
1054 1054
 Additionally, the operator can **set any environment variable** in the
... ...
@@ -110,7 +110,7 @@ Lastly, we've specified a command for our container to run: `python app.py`. Thi
110 110
 
111 111
 > **Note:** 
112 112
 > You can see more detail on the `docker run` command in the [command
113
-> reference](/reference/commandline/cli/#run) and the [Docker Run
113
+> reference](/reference/commandline/run) and the [Docker Run
114 114
 > Reference](/reference/run/).
115 115
 
116 116
 ## Viewing our web application container