Docker
Prerequisites
- nodejs v10+
- docker
- docker-compose
Docker
You can run GoQuorum using the official docker image on Dockerhub (opens in a new tab).
Consensys also provide an official Tessera docker image (opens in a new tab) which can be paired with GoQuorum to handle private transactions. This pattern is used in the Kubernetes manifests and Helm charts.
Pull the image
After you log into dockerhub (opens in a new tab), pull the latest image as follows:
docker pull fptblockchainlab/quorum:latest
Run the image
To run the image, pass in the same command line arguments as you would when running the binary:
docker run -d -p 8545:8545 fptblockchainlab/quorum:latest --datadir /data --http --http.addr 0.0.0.0 --http.port 8545 ...
Docker Compose
Docker-compose (opens in a new tab) allows you to spin up many docker containers simultaneously, and allows you to quickly configure networking and volumes, and develop patterns to use.
You can also use the Kubernetes examples and charts.
- Install quorum-dev-quickstart
npx quorum-dev-quickstart
- Next steps:
- Please check https://github.com/ConsenSys/quorum-dev-quickstart (opens in a new tab) for the setup with docker-compose
- We have an example at Middleware Repo (opens in a new tab)