dockerized [options] <command>[:version] [arguments]When running dockerized from source, extra compilation options are available. See Compilation options.
--build— Rebuild the container before running it.--shell— Start a shell inside the command container. Similar todocker run --entrypoint=sh.--entrypoint <entrypoint>Override the default entrypoint of the command container.-p <port>— Exposes given port to host, e.g.-p 8080.-p <port>:<port>— Maps host port to container port, e.g.-p 80:8080.-v,--verbose— Log what dockerized is doing.-h,--help— Show this help.
:<version>— The version of the command to run, e.g.1,1.8,1.8.1.:?,:— List all available versions. E.g.dockerized go:?
- All arguments after
<command>are passed to the command itself.
When running dockerized from source, there's an extra compilation option available. It should be the first argument.
dockerized --compile[=docker|host]--compile,--compile=docker— Compile dockerized using docker.--compile=host— Compile dockerized on the host, requiresgo1.17+ to be installed.
Example:
# Re-compile dockerized with go and run python.
dockerized --compile=host python