API Reference
lean private-cloud start
Introduction
Start a new private cloud
$ lean private-cloud start [OPTIONS]
Description
Starts a new private cloud deployment in a Docker container.
Run with --master to start the node as a master server, or --slave to start it as a slave node connected to an existing master.
Use --token, --master-domain, and --master-port to configure the connection between master and slave nodes.
Use --compute to select a compute configuration and --extra-docker-config to pass additional Docker configuration as a JSON string.
Pass --update to pull the latest Docker image before starting, or --stop to stop any existing deployment first.
Options
The lean private-cloud start command supports the following options:
| Option | Description |
|---|---|
--master | Run in master mode |
--slave | Run in slave mode |
--token <string> | The master server token |
--master-domain, --master-ip <string> | The master server domain |
--master-port <integer> | The master server port |
--slave-domain, --slave-ip <string> | The slave server domain |
--update | Pull the latest image before starting |
--no-update | Do not update to the latest version |
--compute <string> | Compute configuration to use |
--extra-docker-config <string> | Extra docker configuration as a JSON string |
--stop | Stop any existing deployment |
--lean-config <file> | The Lean configuration file that should be used (defaults to the nearest lean.json) |
--verbose | Enable debug logging |
--help | Display the help text of the lean private-cloud start command and exit |