Skip to Content
Next Hat
ReferencesNanoclDaemonNanocl daemon

Nanocl daemon

nanocld manages the local Docker node, persists desired and observed state, and exposes the Nanocl API. Node join options remain experimental in 0.18; do not treat them as an automatic multi-node scheduling or high-availability setup.

nanocld [OPTIONS]
OptionPurpose
-H, --hosts HOSTSAPI listeners; the installed default uses unix:///run/nanocl.sock
--docker-host DOCKER_HOSTDocker daemon endpoint; installed default unix:///var/run/docker.sock
--store-addr STORE_ADDRCockroachDB connection address
--state-dir STATE_DIRRuntime state directory; installed default /var/lib/nanocl
--conf-dir CONF_DIRConfiguration directory; default /etc/nanocl
--gateway GATEWAYHost gateway; detected when omitted
--hostname HOSTNAMENode name; detected when omitted
--node NODESExperimental node endpoints to join
--advertise-addr ADDRESSAddress advertised to other nodes
--gid GIDGroup ID for the Unix socket; default 0
--cert, --cert-key, --cert-caOptional API TLS material
--verify, --passwordOptional API TLS verification and password settings

Run nanocld --help for the exact syntax of the installed build. The latest 0.18 API is available from the sidebar or at the versioned OpenAPI page.