Просмотр исходного кода

Merge pull request #25366 from yongtang/08032016-man-docker-create-user-flag

Update `--user`/`-u` flag in man page of `docker create`
Sebastiaan van Stijn 9 лет назад
Родитель
Сommit
e737e6a204
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      man/docker-create.1.md

+ 6 - 1
man/docker-create.1.md

@@ -375,7 +375,12 @@ any options, the systems uses the following options:
 `rw,noexec,nosuid,nodev,size=65536k`.
 
 **-u**, **--user**=""
-   Username or UID
+   Sets the username or UID used and optionally the groupname or GID for the specified command.
+
+   The followings examples are all valid:
+   --user [user | user:group | uid | uid:gid | user:gid | uid:group ]
+
+   Without this argument root user will be used in the container by default.
 
 **--ulimit**=[]
    Ulimit options