зеркало из https://github.com/microsoft/docker.git
Merge pull request #322 from sa2ajj/port-map-nitpick
change option description to reflect the semantics
This commit is contained in:
Коммит
a58cd8c616
|
@ -80,7 +80,7 @@ func ParseRun(args []string, stdout io.Writer) (*Config, error) {
|
|||
flMemory := cmd.Int64("m", 0, "Memory limit (in bytes)")
|
||||
|
||||
var flPorts ports
|
||||
cmd.Var(&flPorts, "p", "Map a network port to the container")
|
||||
cmd.Var(&flPorts, "p", "Expose a container's port to the host (use 'docker port' to see the actual mapping)")
|
||||
|
||||
var flEnv ListOpts
|
||||
cmd.Var(&flEnv, "e", "Set environment variables")
|
||||
|
|
Загрузка…
Ссылка в новой задаче