Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion engine/tutorials/dockervolumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ Here you've mounted the same `/src/webapp` directory but you've added the `ro`
option to specify that the mount should be read-only.

>**Note**: The host directory is, by its nature, host-dependent. For this
>reason, you can't mount a host directory from `Dockerfile` because built images
>reason, you can't mount a host directory from `Dockerfile`, the `VOLUME`
instruction does not support passing a `host-dir`, because built images
>should be portable. A host directory wouldn't be available on all potential
>hosts.


### Mount a shared-storage volume as a data volume

In addition to mounting a host directory in your container, some Docker
Expand Down