Skip to content

0x4a5e1e4baab/algorand-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 66.1%
  • Dockerfile 33.9%