Debian based docker image that contains the latest version of cheqd-nonded
executable.
You can find prebuilt package here:
https://github.com/cheqd/cheqd-node/pkgs/container/cheqd-node
To pull it use:
docker pull ghcr.io/cheqd/cheqd-node:latest
To build the image:
- Go to the repository root;
- Run
docker build -f docker/cheqd_node/Dockerfile -t cheqd-node .
.
Note: If you are using M1 Macbook you should modify the FROM statement in the Dockerfile, should be like this "FROM --platform=linux/amd64 golang:buster as builder "
cheqd-noded
executable is entry point by default.
Usage:
docker run -it --rm cheqd-node <command> <args>
Used to initialize configuration files and run a node in one command.
Parameters:
NODE_MONIKER
- node moniker;GENESIS
- base64 encoded content ofgenesis.json
;NODE_KEY
- base64 encoded content ofnode_key.json
;PRIV_VALIDATOR_KEY
- base64 encoded content ofpriv_validator_key.json
;NODE_ARGS
(optional) - argument string passed to thecheqd-noded start
command.
Usage:
docker run -it --rm --entrypoint node-runner -e NODE_MONIKER=<moniker> -e GENESIS="<content>" -e NODE_KEY="<content>" -e PRIV_VALIDATOR_KEY="<content>" cheqd-node