By using Docker

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.

Install docker

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.

<aside> 💻 1 $ sudo apt update 2 $ sudo apt install apt-transport-https ca-certificates curl gnupg-agent software- properties-common 3 $ curl -fsSL | sudo apt-key add - 4 $ sudo apt-key fingerprint 0EBFCD88 5 $ sudo add-apt-repository \ 6 "deb [arch=amd64] \ 7 $(lsb_release -cs) \ 8 stable" 9 $ sudo apt update 10 $ sudo apt install docker-ce docker-ce-cli 11 $ sudo usermod -aG whoami docker


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!

Setting up the files

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


Fetching the container

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 --username YOUR_GITHUB_USERNAME