Skip to content

Latest commit

 

History

History

DOCKER

Docker

Supported tags and respective Dockerfile links

DockerHub tags for official releases are here. The "latest" tag will always point to the highest version number.

Official releases can be found here.

The Dockerfile for CometBFT is not expected to change in the near future. The main file used for all builds can be found here.

Respective versioned files can be found at https://raw.githubusercontent.com/cometbft/cometbft/vX.XX.XX/DOCKER/Dockerfile (replace the Xs with the version number).

Quick reference

CometBFT

CometBFT is Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine, written in any programming language, and securely replicates it on many machines.

For more background, see the the docs.

To get started developing applications, see the application developers guide.

How to use this image

Start one instance of the CometBFT with the kvstore app

A quick example of a built-in app and CometBFT in one container.

docker run -it --rm -v "/tmp:/cometbft" cometbft/cometbft init
docker run -it --rm -v "/tmp:/cometbft" cometbft/cometbft node --proxy_app=kvstore

Local cluster

To run a 4-node network, see the Makefile in the root of the repo and run:

make build-linux
make build-docker-localnode
make localnet-start

Note that this will build and use a different image than the ones provided here.

License

Contributing

Contributions are most welcome! See the contributing file for more information.