0x4a5e1e4baab / algorand-node

Algorand Docker Node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Algorand Node

Run Algorand in a Docker container

Build

docker build -t algorand .

Running

Default network is mainnet

docker run -d -p 8080:8080 --name algorand blockzilla/algorand-node

To run a specific version:

docker run -d -p 8080:8080 --name algorand blockzilla/algorand-node:v1.0.29


To run on testnet:

docker run -d -p 8080:8080 -e NETWORK=testnet --name algorand blockzilla/algorand-node


To run on devnet:

docker run -d -p 8080:8080 -e NETWORK=devnet --name algorand blockzilla/algorand-node

Status

To obtain node status using docker exec

docker exec algorand /algorand/node/goal node status -d /algorand/node/data

Alternatively on your server copy the contents of bin to /usr/bin, you can now run Algorand cli tools from the host against the Docker container using docker exec

goal node status

API connection

API will listen on localhost:8080

curl 127.0.0.1:8080/swagger.json

Donation

Credit to https://github.com/bjweaver/ for initial Docker file

Thanks

YGC67NIYZUPZCF3E6HTGIM2CZR7IIQUMFN4CIO77QYCGGBVZBAL3P4BTRQ

About

Algorand Docker Node


Languages

Language:Shell 66.1%Language:Dockerfile 33.9%