githubEdit

Installing the Bonder with Docker (recommended)

Installing the bonder with Docker

Installing Docker

The first step is to install Docker on your server. The official Docker install Instructions are herearrow-up-right. A concise version of the instructions for installing Docker on an Ubuntu server are below:

sudo apt-get update
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
sudo apt-get install docker-ce -y
sudo usermod -aG docker $USER
newgrp docker
docker info

Pulling the image

Next, you need to pull the bonder image.

docker pull hopprotocol/hop-node:mainnet

Adding an alias

To conveniently run the bonder process, add the following line to the end of your ~/.bashrc file.

alias hop='docker run -it -v ~/.hop:/root hopprotocol/hop-node:mainnet --config=/root/config.json'

Once that is done, source that file with source ~/.bashrc.

Last updated