Skip to content

mochi config set container-runtime ​

Set the container runtime that executables set to auto use on this machine.

Synopsis ​

Set the runtime a container executable with runtime: auto (the default) runs with on this machine. auto detects one: docker, else podman, preferring an engine that is running when both are installed. An executable that names docker or podman keeps that runtime.

shell
mochi config set container-runtime [auto|docker|podman] [flags]

Examples ​

shell
mochi config set container-runtime podman

Options ​

FlagTypeDescription
-h, --helphelp for container-runtime

Options inherited from parent commands ​

FlagTypeDescription
-L, --log-levelstringLog verbosity level (debug, info, fatal) (default "info")
--syncSync the executable cache first, pulling git-sourced workspaces from their remotes

See also ​