Run Edge Node with Docker on Linux

If you want to run the edge node with command lines (e.g. on Linux), you can try the the docker image we provide. The initial version of the docker image supports elite edge node TFuel staking, and incorporates the CLI version of edgecast. Other features such as edge compute and storage will be added later.

To run the edge node with docker, first make sure docker is installed. Next, pull the latest edge node docker image:

docker pull thetalabsorg/edgelauncher_mainnet:v1.1.0

After the docker image is successfully pulled, start the edge node with the following commands. In the second command, please replace <YOUR_PASSWORD> with a secure password:

docker rm edgelauncher

docker run -e EDGELAUNCHER_CONFIG_PATH=/edgelauncher/data/mainnet -e PASSWORD=<YOUR_PASSWORD> -v ~/.edgelauncher:/edgelauncher/data/mainnet -p 127.0.0.1:15888:15888 -p 127.0.0.1:17888:17888 --name edgelauncher -it thetalabsorg/edgelauncher_mainnet:v1.1.0

After the edge node process is running, you can query the edge node summary for TFuel staking with the following curl commands:

curl -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"edgecore.GetEdgeNodeSummary","params":[],"id":1}' http://localhost:17888/rpc