Run a Node with Docker
With just a few commands, you can run your own Base Blockchain node using docker-compose. Simply use the base blockchain docker.
Requirements:
Listed below are the minimum viable requirements.
Although it is possible to run a node using these specifications, it is recommended to assign more resources for optimal performance.
docker-compose version
2.2.2or greater is required4GB memory
1 Vcpu ( minimum of 2 Vcpu is recommended )
100GB disk ( minimum of 150GB SSD is recommended )
MACOS WITH AN ARM PROCESSOR IS NOT RECOMMENDED
Quickstart
The <network> placeholder used below can be replaced with one of:
mainnet
testnet
mocknet
Clone the base-blockchain-docker repository locally
Start the Services
WITH AN OPTIONAL HTTP PROXY ON PORT 80:
Accessing the services
TIP
For networks other than mocknet, downloading the initial headers can take several minutes. Until the headers are downloaded, the /v2/info endpoints won't return any data.
Follow the logs to track the sync progress:
Base-blockchain:
Ports
20443-20444are exposed onlocalhost
Base-blockchain-api:
Port
3999is exposed onlocalhost
proxy:
Port
80is exposed onlocalhost
Upgrades
Last updated