> For the complete documentation index, see [llms.txt](https://docs.hop.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hop.exchange/developer-docs/hop-node/running-a-hop-bonder/installing-the-bonder/installing-the-bonder-docker.md).

# 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 here](https://docs.docker.com/config/daemon/systemd/). A concise version of the instructions for installing Docker on an Ubuntu server are below:

```bash
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.

```bash
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.

```bash
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`.
