The instructions below are for Linux and macOS, it is possible to use Windows, but this may result in some issues. Using a VPS if you are on Windows is recommended.
You can use Docker to install a
hoprd node on your device quickly without worrying too much about the operating system or any additional software. There are, however, some hardware requirements needed to complete the installation.
To use Docker, you will need a device that supports hardware-level virtualisation: VT-x for Intel-based PCs and AMD-V for AMD processors. Most Mac and Linux machines support it out of the box, so just ensure your device meets the following minimum requirements to run
- Dual Core CPU ~ 2 GHz
- 4 GB RAM
- at least 3 GB Disk Space
At least 8 GB RAM and 10 GB Disk Space is ideal but not required.
Before doing anything else, you need to install Docker Desktop on your machine.
Depending on your distribution, please follow the official guidelines to install and run Docker on your workstation.
- Visit Docker and download Docker Desktop to your computer.
- Follow the wizard steps to ensure Docker is installed.
- Ensure the installation was successful by running
docker psin your terminal.
All our docker images can be found in our Google Cloud Container Registry. Each image is prefixed with
If you are using a VPS, it is highly recommended that you use Tmux to run your node in the background. Otherwise, your node will terminate as soon as you exit the terminal.
You can use these basic commands to set up a separate session:
(1) First, install Tmux.
sudo apt install tmux
tmux to open a new session.
That's it! You now have a new session running in the background even when you close your terminal. To navigate between sessions, you should familiarise yourself with other Tmux commands. The three main ones you will need are:
To output a list of all your open sessions.
tmux attach-session -t <session ID or name>
To navigate to a particular session, the first session you have created will have an id of
0. Use the list command to view all your current sessions.
To exit your current session without closing it. To be clear, you press ctrl and b simultaneously, then press d after letting them go.
Please make sure you are in a newly opened session and haven't exited it before continuing.
Before downloading the HOPRd image, make sure Docker is installed.
All our docker images can be found in our Google Cloud Container Registry.
Each image is prefixed with
valencia tag represents the latest community release version.
(1) Open your terminal.
(2) Create a Security Token (password) which satisfies the following requirements:
Security token should contain:
- at least 8 symbols
- a lowercase letter
- uppercase letter
- a number
- a special symbol (don't use
This ensures the node cannot be accessed by a malicious user residing in the same network.
(3) Copy the following command and replace YOUR_SECURITY_TOKEN with your own.
docker run --pull always --restart on-failure -m 2g -ti -v $HOME/.hoprd-db-valencia:/app/hoprd-db -p 9091:9091 -p 3000:3000 -p 3001:3001 -e DEBUG="hopr*" gcr.io/hoprassociation/hoprd:1.90.63 --environment monte_rosa --init --api --admin --identity /app/hoprd-db/.hopr-id-valencia --data /app/hoprd-db --password 'open-sesame-iTwnsPNg0hpagP+o6T0KOwiH9RQ0' --apiHost "0.0.0.0" --apiToken 'YOUR_SECURITY_TOKEN' --adminHost "0.0.0.0" --healthCheck --healthCheckHost "0.0.0.0"
If you are not logged in as the root user, add sudo to the start of the above command. E.g.
sudo docker run .... If you are using a VPS, you are likely a root user and can use the default command.
(4) Paste the command into your terminal with your unique security token, and hit enter.
(5) Wait until the node is installed. This can take up to 10 minutes.
Please note the
--apiToken (Security token), as this will be used to access hopr-admin. It may also be a good idea to note the
--password, in case you want to decrypt your identity file and retrieve your private key or funds later.
Note: Withdrawing funds is possible through hopr-admin. This is just a precaution for safekeeping.
All ports are mapped to your local host, assuming you stick to the default port numbers. You should be able to view the
hopr-admin interface at http://localhost:3000 (replace
localhost with your
server IP address if you are using a VPS, for example
If you are in the process of registering your node on the network registry, please complete the process here before continuing.
Otherwise, the installation process is complete! You can proceed to our hopr-admin tutorial.
- 3000 on TCP : Admin UI port (speaks HTTP protocol)
- 3001 on TCP: REST API port (speaks HTTP)
- 8080 on TCP: Healthcheck service - is used to see that the node is up & running (speaks HTTP)
- 9091 on TCP: main P2P port used for HOPR protocol
- 9091 on UDP: used for STUN requests by other non-public nodes reaching out to you to see what their IP address is
In general, you will only want to change these port numbers if you intend to run multiple nodes simultaneously. Otherwise, use the Docker command with the default mapping.
Note: For the initial Monte Rosa release, you will only be allowed to register a single node at a time.
If your node crashes, you will want to collect the logs and pass them on to our ambassadors on telegram or create an issue on GitHub.
To collect the logs:
(1) In your terminal, enter the command:
docker container ls --all
This will create a list of all your docker containers similar to the one below:
(2) look through the list and find the
container ID of the most recently exited container. The example above would be
5955dbd23bb2 as the most recent container is still running.
(3) Replace the container ID in the command below with yours from step 2:
docker logs -t <CONTAINER_ID>
This should output your logs, copy them and either: