Skip to content

Commit

Permalink
Merge pull request moby#18798 from mqliang/patch-1
Browse files Browse the repository at this point in the history
Update dockervolumes.md
  • Loading branch information
thaJeztah committed Dec 21, 2015
2 parents 83f28cb + 3dd90e5 commit e9f7241
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/userguide/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This will create a new volume inside a container at `/webapp`.
### Locating a volume

You can locate the volume on the host by utilizing the 'docker inspect' command.
You can locate the volume on the host by utilizing the `docker inspect` command.

$ docker inspect web

Expand All @@ -78,8 +78,8 @@ volumes. The output should look something similar to the following:
]
...

You will notice in the above 'Source' is specifying the location on the host and
'Destination' is specifying the volume location inside the container. `RW` shows
You will notice in the above `Source` is specifying the location on the host and
`Destination` is specifying the volume location inside the container. `RW` shows
if the volume is read/write.

### Mount a host directory as a data volume
Expand All @@ -102,7 +102,7 @@ The `host-dir` can either be an absolute path or a `name` value. If you
supply an absolute path for the `host-dir`, Docker bind-mounts to the path
you specify. If you supply a `name`, Docker creates a named volume by that `name`.

A `name` value must start with start with an alphanumeric character,
A `name` value must start with an alphanumeric character,
followed by `a-z0-9`, `_` (underscore), `.` (period) or `-` (hyphen).
An absolute path starts with a `/` (forward slash).

Expand Down

0 comments on commit e9f7241

Please sign in to comment.