Skip to main content

Nanocl DAEMON

Nanocld

nanocld [OPTIONS]

To list available options, run nanocld --help :

$ nanocld --help
Nanocl Daemon - Self Sufficient Hybrid Cloud Orchestrator

Usage: nanocld [OPTIONS]

Options:
--init
Ensure state is inited
-H, --hosts <HOSTS>
Hosts to listen to use tcp:// and unix:// [default: unix:///run/nanocl.sock]
--docker-host <DOCKER_HOST>
Docker daemon socket to connect [default: unix:///var/run/docker.sock]
--state-dir <STATE_DIR>
State directory [default: /var/lib/nanocl]
--conf-dir <CONF_DIR>
Config directory [default: /etc/nanocl]
--gateway <GATEWAY>
Gateway automatically detected to host default source ip gateway if not set
--hostname <HOSTNAME>
Hostname to use for the node automatically detected if not set
--node <NODES>
Join current node to a cluster
--advertise-addr <ADVERTISE_ADDR>
Address to advertise to other nodes
--gid <GID>
Group id [default: 0]
-h, --help
Print help
-V, --version
Print version

Options

Name, shorthandDefaultDescription
-H, --host=HOSTSunix:///run/nanocl/nanocl.sockDaemon host to listen to you can use tcp:// and unix://
--docker-host=DOCKER_HOSTunix:///run/nanocl/docker.sockDocker daemon socket to connect
--state-dir=STATE_DIR/var/lib/nanoclState directory
--config-dir=CONFIG_DIR/etc/nanoclConfig directory
-h, --helpPrint help information
-V, --versionPrint version information