image created for dht, substrate framework
790
The Image exposes 3 ports 30333 9933 9944 which would need to be mapped to host ports appropriately.
docker run -it -p 30333:30333 -p 9944:9944 -p 9933:9933 supraoracles/dhtimg1 \
--base-path /tmp/alice \
--chain local \
--alice \
--port 30333 \
--ws-port 9944 \
--rpc-port 9933 \
--node-key 0000000000000000000000000000000000000000000000000000000000000001 \
--no-telemetry \
--no-prometheus \
--validator
docker run -it -p 30334:30333 -p 9945:9944 -p 9934:9933 supraoracles/dhtimg1 \
--base-path /tmp/bob \
--chain local \
--bob \
--port 30333 \
--ws-port 9944 \
--rpc-port 9933 \
--no-telemetry \
--no-prometheus \
--validator \
--bootnodes /ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
When both are executed from the same system, the network connection would be established and you would see blocks being finalized.
Content type
Image
Digest
Size
67.9 MB
Last updated
almost 5 years ago
docker pull supraoracles/dhtimg1