mirror of
https://github.com/docker/cli.git
synced 2026-09-27 17:56:04 -04:00
Switch docker run --username to docker run --user which is more accurate (while we can still do so without breaking anyone's scripts)
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
@@ -1010,7 +1010,7 @@ image is removed.
|
||||
-p, --publish=[]: Map a network port to the container
|
||||
--rm=false: Automatically remove the container when it exits (incompatible with -d)
|
||||
-t, --tty=false: Allocate a pseudo-tty
|
||||
-u, --username="": Username or UID
|
||||
-u, --user="": Username or UID
|
||||
--dns=[]: Set custom dns servers for the container
|
||||
-v, --volume=[]: Create a bind mount with: [host-dir]:[container-dir]:[rw|ro]. If "container-dir" is missing, then docker creates a new volume.
|
||||
--volumes-from="": Mount all volumes from the given container(s)
|
||||
|
||||
Reference in New Issue
Block a user