diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index d544a9cdf5fe..8402326d0577 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -117,3 +117,12 @@ Create and run a new container from an image +## Description + +Options whose type is `list` take one value per flag. Repeat the flag to pass +more than one value. A comma-separated string is a single item, not a list. + +```console +$ docker run --dns 8.8.8.8 --dns 1.1.1.1 --rm alpine getent hosts docker.com +``` +