Jump to content

Cli/ref/mw docker custom expose

From mediawiki.org
< Cli | ref

mw docker custom expose

[edit]

Expose a port in a running container

mw docker custom expose [flags]

Examples

[edit]
expose
expose --external-port 1234
expose --external-port 1234 --internal-port 80

Options

[edit]
  -e, --external-port string   External port to expose
  -i, --internal-port string   Internal port to expose

Options inherited from parent commands

[edit]
  -c, --context string   The context to use (default "default")
      --help             Help for this command
  -n, --name string      the name of the custom service file, referring to existing docker-compose.yml file in the mwdd directory prefixed with custom- (default "custom")
      --no-interaction   Do not ask any interactive questions
  -v, --verbose count    Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]