Skip to content

Latest commit

 

History

History
 
 

bootstrap

Bootstrap

Bootstrap performs a list of actions against a Flynn cluster. It is typically used to boot Flynn layer 1 services on a new layer 0 cluster.

Usage

There is an template manifest that boots a default configuration of Flynn layer 1. To run the manifest, you need the bootstrapper binary or flynn/bootstrap Docker image and a running Flynn cluster.

To use the Docker image, run:

docker run -e DISCOVERD=<host>:1111 flynn/bootstrap

To provide a custom manifest, you can read it from stdin:

cat manifest.json | docker run -i -e DISCOVERD=<host>:1111 flynn/bootstrap -

By default, the bootstrapper will try to connect to discoverd at localhost:1111, use the DISCOVERD environment variable to change this.

A machine-readable output format is available by adding the -json flag.