Docker Method
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide is quoted from
All rights reserved to
Ensure that you meet the hardware requirements to run the Cortensor network. For detailed information, you can visit the .
Run the following command to uninstall all conflicting packages:
Set up Docker’s apt repository.
Install the Docker packages.
Install Git to clone the installer repository.
Run the build.sh script. The script will do the following:
Build the Dockerfile for the Cortensor image
Generate the docker-compose.yaml file for you to adjust your total nodes
After the docker-compose.yml and .env files are generated, you need to modify the environment variables in .env file for the cortensor section:
RPC_URL: Your ARB Sepolia RPC URL, which you can obtain by running your own node or using a service provider like Ankr, Alchemy, or Infura.
ETH_RPC_URL: Your ETH Mainnet RPC URL, you can use any free provider
CONTRACT_ADDRESS_RUNTIME: DevNet#5 Runtime is 0x8361E7821bDAD7F8F0aC7862Bebb190B8Da1A160
NODE_PUBLIC_KEY_X: The EVM address of your miner node.
NODE_PRIVATE_KEY_X: The EVM private key of your miner node.
X means number of your node. If you're going to run 5 nodes, there will be
NODE_PUBLIC_KEY_1=0x... NODE_PRIVATE_KEY_1=0x... NODE_PUBLIC_KEY_2=0x... NODE_PRIVATE_KEY_2=0x... ... NODE_PUBLIC_KEY_5=0x... NODE_PRIVATE_KEY_5=0x...
Ensure that the working directory is within the installer folder.
Run your nodes using this command
Run this command to check all the container logs
Run this command to stop the nodes
Run this command to delete all nodes
You can simply run below command inside the working directory to get latest update
For DevNet#5 onwards
For DevNet#4 and below, it's recommended to do full rebuild