Signed-off-by: Lucas Chi <lucas@teacherspayteachers.com>
(cherry picked from commit 7b3ac47fa4c2dd6850959c3c230289eefbc4dbe3)
Signed-off-by: Tibor Vass <tibor@docker.com>
| ... | ... |
@@ -97,7 +97,7 @@ if the volume is read/write. |
| 97 | 97 |
### Mount a host directory as a data volume |
| 98 | 98 |
|
| 99 | 99 |
In addition to creating a volume using the `-v` flag you can also mount a |
| 100 |
-directory from your Engine daemon's host into a container. |
|
| 100 |
+directory from your Docker engine's host into a container. |
|
| 101 | 101 |
|
| 102 | 102 |
```bash |
| 103 | 103 |
$ docker run -d -P --name web -v /src/webapp:/opt/webapp training/webapp python app.py |
| ... | ... |
@@ -119,10 +119,10 @@ followed by `a-z0-9`, `_` (underscore), `.` (period) or `-` (hyphen). |
| 119 | 119 |
An absolute path starts with a `/` (forward slash). |
| 120 | 120 |
|
| 121 | 121 |
For example, you can specify either `/foo` or `foo` for a `host-dir` value. |
| 122 |
-If you supply the `/foo` value, Engine creates a bind-mount. If you supply |
|
| 123 |
-the `foo` specification, Engine creates a named volume. |
|
| 122 |
+If you supply the `/foo` value, the Docker Engine creates a bind-mount. If you supply |
|
| 123 |
+the `foo` specification, the Docker Engine creates a named volume. |
|
| 124 | 124 |
|
| 125 |
-If you are using Docker Machine on Mac or Windows, your Engine daemon has only |
|
| 125 |
+If you are using Docker Machine on Mac or Windows, your Docker Engine daemon has only |
|
| 126 | 126 |
limited access to your OS X or Windows filesystem. Docker Machine tries to |
| 127 | 127 |
auto-share your `/Users` (OS X) or `C:\Users` (Windows) directory. So, you can |
| 128 | 128 |
mount files or directories on OS X using. |
| ... | ... |
@@ -146,8 +146,8 @@ Docker `-v` flag. |
| 146 | 146 |
Mounting a host directory can be useful for testing. For example, you can mount |
| 147 | 147 |
source code inside a container. Then, change the source code and see its effect |
| 148 | 148 |
on the application in real time. The directory on the host must be specified as |
| 149 |
-an absolute path and if the directory doesn't exist the Engine daemon automatically |
|
| 150 |
-creates it for you. |
|
| 149 |
+an absolute path and if the directory doesn't exist the Docker Engine daemon |
|
| 150 |
+automatically creates it for you. |
|
| 151 | 151 |
|
| 152 | 152 |
Docker volumes default to mount in read-write mode, but you can also set it to |
| 153 | 153 |
be mounted read-only. |
| ... | ... |
@@ -344,7 +344,7 @@ restore testing using your preferred tools. |
| 344 | 344 |
A Docker data volume persists after a container is deleted. You can create named |
| 345 | 345 |
or anonymous volumes. Named volumes have a specific source form outside the |
| 346 | 346 |
container, for example `awesome:/bar`. Anonymous volumes have no specific |
| 347 |
-source. When the container is deleted, you should instruction the Engine daemon |
|
| 347 |
+source. When the container is deleted, you should instruct the Docker Engine daemon |
|
| 348 | 348 |
to clean up anonymous volumes. To do this, use the `--rm` option, for example: |
| 349 | 349 |
|
| 350 | 350 |
```bash |
| ... | ... |
@@ -352,7 +352,7 @@ $ docker run --rm -v /foo -v awesome:/bar busybox top |
| 352 | 352 |
``` |
| 353 | 353 |
|
| 354 | 354 |
This command creates an anonymous `/foo` volume. When the container is removed, |
| 355 |
-Engine removes the `/foo` volume but not the `awesome` volume. |
|
| 355 |
+the Docker Engine removes the `/foo` volume but not the `awesome` volume. |
|
| 356 | 356 |
|
| 357 | 357 |
## Important tips on using shared volumes |
| 358 | 358 |
|