Skip to content

Configuration ​

kumoba works without configuration. Each setting below overrides one default.

Daemon (kumobad) ​

Set these in kumobad's environment. kumobad --help prints the same list.

VariableDefaultMeaning
KUMOBA_HOME~/.kumobaBase directory for the defaults below
KUMOBAD_IMAGESevery $KUMOBA_HOME/images/*.rawImages to serve, as name=/path/to/image.raw,...
KUMOBAD_STATE_DIR$KUMOBA_HOME/stateSandbox disks, metadata and keys
KUMOBAD_TOKEN_FILE$KUMOBA_HOME/token, created on first startBearer token, 32 bytes or more
KUMOBAD_WORKERnext to kumobadThe kumoba-worker binary
KUMOBAD_SOCKET$KUMOBA_HOME/kumobad.sock unless KUMOBAD_LISTEN is setUnix socket for the API, mode 0600
KUMOBAD_LISTEN127.0.0.1:7788 when neither it nor KUMOBAD_SOCKET is setLoopback address for the API
KUMOBAD_PREVIEW_LISTEN127.0.0.1:7789 when nothing else is setLoopback address that serves previews and the desktop to browsers
KUMOBAD_PREVIEW_URLhttp://<preview listen address>Public base URL of that listener, behind a reverse proxy
KUMOBAD_MAX_RUNNING4Sandboxes running at once
KUMOBAD_ALLOW_PRIVATE_HOSTSnoneIntranet host names and IPv4 CIDRs sandboxes may reach
KUMOBAD_UPSTREAM_PROXYnonehttp://[user:pass@]host[:port] proxy for outbound traffic
KUMOBAD_NO_PROXYnoneHost names reached directly instead of through the proxy
KUMOBAD_UPSTREAM_PROXY_CONNECTaddressWhat the proxy CONNECT names: the checked address, or the host name
KUMOBAD_LIBKRUN, KUMOBAD_LIBKRUNFW../lib next to kumobad, then the systemlibkrun and its firmware

Clients (CLI and SDK) ​

VariableDefaultMeaning
KUMOBA_URLunix://$KUMOBA_HOME/kumobad.sockThe daemon: unix:///path or http://127.0.0.1:port
KUMOBA_TOKENcontents of KUMOBA_TOKEN_FILEBearer token
KUMOBA_TOKEN_FILE$KUMOBA_HOME/tokenFile holding the token
KUMOBA_PUBLIC_URLnoneSDK only: base URL for expose() links when the daemon doesn't return one
KUMOBA_USERthe image's default userSDK only: guest user for commands and files

Installer (install.sh) ​

VariableDefaultMeaning
KUMOBA_VERSIONthe latest releaseRelease to install, such as 0.2.2
KUMOBA_HOME~/.kumobaInstall directory
KUMOBA_IMAGEdefaultdefault, test or none

Alpha software: APIs, file formats and images may change between releases. Apache-2.0.