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 current version of the docker image supports elite edge node TFuel staking, video stream sharing through edgecast, video transcoding, as well as edge compute for deep learning tasks via the FedML client. The minimum hardware requirements can be found on this page.
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:latest
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 -p 127.0.0.1:17935:17935 --name edgelauncher -it thetalabsorg/edgelauncher_mainnet:latest
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
Updated 8 months ago