-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
area/buildRelates to Dockerfiles or docker build commandRelates to Dockerfiles or docker build commandstatus/triageNeeds triageNeeds triage
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
The documentation on the VOLUME command indicates that it only takes one argument. However, almost all usages I've seen show it taking two arguments. The documentation needs to show this. Furthermore, the linked documentation to https://docs.docker.com/engine/storage/volumes/ only shows command-line or compose syntax. I cannot find where it maps this syntax to the Dockerfile VOLUME syntax.
Location
https://docs.docker.com/reference/dockerfile/
Suggestion
The documentation needs to show the typical usage of VOLUME with at least two arguments (a mount point and a target). If there is a mapping to the --mount command line argument, this needs to be explicit.
Metadata
Metadata
Assignees
Labels
area/buildRelates to Dockerfiles or docker build commandRelates to Dockerfiles or docker build commandstatus/triageNeeds triageNeeds triage