diff --git a/engine/tutorials/dockervolumes.md b/engine/tutorials/dockervolumes.md index 8ff40f9a3265..b3f322872e30 100644 --- a/engine/tutorials/dockervolumes.md +++ b/engine/tutorials/dockervolumes.md @@ -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