cli.docker¶
otto docker — build images and bring up/down compose stacks on lab hosts.
- Subcommands:
otto docker build [–rebuild] [–on <host>] [<image>…] otto docker up [–on <host>] otto docker down [–on <host>] otto docker ps [–on <host>]
All four are thin wrappers around the library API in otto.docker,
which is also what instructions and suites import directly.
- otto.cli.docker.docker_callback(ctx: Context) None¶
Build images and orchestrate compose stacks on docker-capable lab hosts.
Output-dir creation moved to the shared leaf-invoke
command_preamble(); the read-onlypsleaf opts out via its__cli_output_dir__ = Falsemarker (see below), so a--helpinvocation can never create a spurious dir.