From b4f8111aedc61ba41fd57187d7f70a980b15b053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?VERDO=C3=8FA=20Laurent?= Date: Tue, 5 Apr 2016 11:43:59 +0900 Subject: [PATCH] provider/docker: #5298 Add support for docker run --user option --- r/container.html.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r/container.html.markdown b/r/container.html.markdown index 582e8b49..7441e88a 100644 --- a/r/container.html.markdown +++ b/r/container.html.markdown @@ -42,6 +42,9 @@ The following arguments are supported: container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `["/usr/bin/myprogram"]`. +* `user` - (Optional, string) User used for run the first process. Format is + `user` or `user:group` which user and group can be passed literraly or + by name. * `dns` - (Optional, set of strings) Set of DNS servers. * `env` - (Optional, set of strings) Environmental variables to set. * `labels` - (Optional, map of strings) Key/value pairs to set as labels on the