Installing mainnnet node with Docker

Hello,

I might be missing something but it seems that this guide is for testnet only: https://developer.algorand.org/docs/installing-docker

How to adapt these steps for the node to work on mainnet ?

Thanks.

I’ve found this guide to be very helpful: https://developer.algorand.org/docs/switching-networks

Basically you have to copy a genesis.json file into a new directory, and then stop the node and start it with the new directory path.

You can fork and edit the dockerfile to add those steps, or you can do them manually.

Thanks for posting. We will be updating the docker instance very soon.

I created a docker image that works for both testnet and mainnet. Give it a try, feedback always welcome.

https://hub.docker.com/r/bjweaver/algorand-node

1 Like