Run via Docker
Last updated
Last updated
and are required to run node.
First off, create a directory to store source codes and files for next steps (feel free to name it):
Change to created directory u2u_node
:
Clone the u2u-genesis
repository to u2u_node
:
Clone the go-u2u
repository to u2u_node
:
Create a file Dockerfile
inside u2u_node
. Below is the sample Dockerfile
:
Create a file docker-compose.yaml
inside u2u_node
. Below is sample docker-compose.yaml
file:
Note that:
To run node on Solaris mainnet: you need to replace genesis file to ./u2u-genesis/mainnet.g
.
To run node on Nebulas testnet: you need to replace genesis file to ./u2u-genesis/testnet.g
.
Now your u2u_node
folder will look like this:
To run a node with Docker compose, open Terminal at u2u_node
folder:
Since we have not published the testnet yet for external nodes to join. However, we are working on it, hang tight