mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-12 12:48:51 +00:00
Add --hostport to run-container.
This helps as a starting point to show a single-machine container. Its easier to use this as an example to show where host port mapping breaks and move on to services.
This commit is contained in:
@@ -30,6 +30,10 @@ Creates a replication controller to manage the created container(s).
|
||||
\fB\-h\fP, \fB\-\-help\fP=false
|
||||
help for run\-container
|
||||
|
||||
.PP
|
||||
\fB\-\-hostport\fP=\-1
|
||||
The host port mapping for the container port. To demonstrate a single\-machine container.
|
||||
|
||||
.PP
|
||||
\fB\-\-image\fP=""
|
||||
The image for the container to run.
|
||||
|
Reference in New Issue
Block a user