Skip to content
Open
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
9 changes: 9 additions & 0 deletions docs/reference/commandline/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,12 @@ Create and run a new container from an image

<!---MARKER_GEN_END-->

## 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
```