The easiest way to get started running a node is to provision a server and deploy the node with docker. We will assume you already have access to a server running a recent Ubuntu system.
The official docker documentation has an extensive documentation on the subject, but in the event you want to fast forward this, here are the commands to use.
💻 1 $ sudo apt update
2 $ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software- properties-common
3 $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
4 $ sudo apt-key fingerprint 0EBFCD88
5 $ sudo add-apt-repository \
6 "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
7 $(lsb_release -cs) \
9 $ sudo apt update
10 $ sudo apt install docker-ce docker-ce-cli containerd.io
11 $ sudo usermod -aG
Logout and log back in the server, you can now test your installation.
<aside> 💻 $ docker run hello-world
If you don't have any errors you are all ready!
Before running the node you need to create a specific folder to be accessed by the docker container. Indeed, for security reasons we lower the rights and accesses whatever is running inside it.
<aside> 💻 $ mkdir nodle && sudo chown -R 1000:1000 nodle
We use the github package registry to host our containers, this means that you need to have an account on Github to continue. Please go ahead and make sure to signup if you don't have one already: here is a shortcut for you.
Configure docker to access the containers via the following command.
<aside> 💻 $ docker login docker.pkg.github.com --username YOUR_GITHUB_USERNAME