Run Local cluster using Docker
Running a local cluster using docker containers, requires installing docker before starting.
Install
You need to have tendermint installed via binary and have Go Path set, see Tendermint docs
- Build tendermint localnode in the tendermint go path.
cd $GOPATH/src/github.com/tendermint/tendermint/
1
- Build the linux
make build-linux
1
copy the docker/abci.Dockerfile
and docker/docker-compose.yml
to $GOPATH/src/github.com/tendermint/tendermint/
- Optionally run
make build-docker-localnode
1
also build the abci.Dockerfile to abcinode, if not it will throw error
- Start the nodes
make localnode-start
1
to stop run
make localnode-stop
1
How this works
We create 4 nodes of Tendermint and 4 nodes for the abci. They are connected via docker network.