Skip to content

1. Using docker to quickly start a single node instance

Potato edited this page Jan 5, 2024 · 1 revision

First you need to pull the container image of RedQueen

docker pull ghcr.io/realfax/redqueen:latest

After the pull is complete, use the following command to quickly start a single-node instance

docker run -it --name rqd-single-node-instance -p 5290:5290 -p 5230:5230 \
                  -e RQ_NODE_ID=node-1 \
                  -e RQ_NUTS_RW_MODE=mmap \
                  -e RQ_LISTEN_PEER_ADDR="127.0.0.1:5290" \
                  -e RQ_LISTEN_CLIENT_ADDR="0.0.0.0:5230" \
                  -e RQ_CLUSTER_BOOTSTRAP="node-1@127.0.0.1:5290" \
                  -d ghcr.io/realfax/redqueen:latest

Use the following command to see if the RedQueen instance is running normally

docker ps | grep rqd-single-node-instance

Enjoy the rough performance of RedQueen😎