kool docker - Commands

kool docker

Create a new container (a powered up 'docker run')

Synopsis

A helper for 'docker run'. Any [OPTIONS] added before the IMAGE name will be used by 'docker run' itself (i.e. --env='VAR=VALUE'). Add an optional [COMMAND] to execute on the IMAGE, and use [--] after the [COMMAND] to provide optional arguments required by the COMMAND.

kool docker [OPTIONS] IMAGE [COMMAND] [--] [ARG...]

Options

  -T, --disable-tty           Deprecated - no effect.
  -e, --env stringArray       Environment variables.
  -h, --help                  help for docker
  -n, --network stringArray   Connect a container to a network.
  -p, --publish stringArray   Publish a container's port(s) to the host.
  -v, --volume stringArray    Bind mount a volume.

Options inherited from parent commands

      --verbose   increases output verbosity

SEE ALSO

  • kool - Cloud native environments made easy