Skip to main content


--container-runtime or OPCTL_CONTAINER_RUNTIME default: docker

To specify the container runtime opctl uses to run containers, include a --container-runtime or set an OPCTL_CONTAINER_RUNTIME env var.

Allowed values are:

  • k8s (connects to k8s via downward API)
  • docker (connects to docker via same config as docker client)
  • qemu (experimental)


opctl --container-runtime qemu

--data-dir or OPCTL_DATA_DIR default: OS dependent per user app data

To specify the path of the directory used to store opctl data, include a --data-dir or set an OPCTL_DATA_DIR env var. to a relative or absolute path.


opctl --data-dir . node create
export OPCTL_DATA_DIR=. && opctl node create

--listen-address or OPCTL_LISTEN_ADDRESS default:

To specify the HOST:PORT on which the node will listen, include a --listen-address or set an OPCTL_LISTEN_ADDRESS env var.


opctl --listen-address

-h or --help

For context specific help, include a -h (or --help) flag w/ your command.


opctl node create -h

Usage: opctl node create

Creates a node


To disable color, include a --nc flag w/ your command.

this may increase readability in environments not supporting color escape codes or piping output to another program.


opctl --no-color events

-v or --version

To print the version and exit, specify a -v (or --version) flag.


opctl -v