Skip to main content
Version: v5.0.0

Managing Node Service

This section explains how to start, stop, and restart your HOPRd node, as well as where to find important files such as the database, log files, identity key, and configuration.

warning

Winning tickets that haven't been redeemed are lost when you stop or restart your node. Before a planned stop, follow Unredeemed tickets and restarts.


Select the platform where your HOPRd node is running to view the relevant service management instructions and file paths:

After installing the HOPRd node using Docker, the following directories and files are created:

PurposePathDescription
Identity file$HOME/hoprd/hopr.idStores the node’s identity.
Configuration file$HOME/hoprd/hoprd-docker.cfg.yamlStores the node’s configuration.
Data directory$HOME/hoprd/dataContains the node’s database. Mounted inside the container at /app/hoprd-db/data.

When using Docker, your HOPRd node runs inside a container in the background.

Start the HOPRd node​

  1. Remove the old container

    Ensure that you have removed the old HOPR Docker container. You can find more details here.

  2. Ensure your configuration file is filled in

    Ensure that your configuration file ~/hoprd/hoprd-docker.cfg.yaml is filled in, as described in Configure your node.

  3. Run your HOPR command

    Run the Docker command by pasting it into the terminal.


Stop the HOPRd node​

To stop your current HOPR node, we will perform the HOPR Docker container removal procedure.

  1. Find the container ID

    Connect to your machine and execute the command docker ps. This will provide you with a list of Docker containers you are currently running. Among them, locate the container with the label europe-west3-docker.pkg.dev/hoprassociation/docker-images/hoprd:stable and note the container ID.

  2. Remove the container

    Remove the container using the following command: docker rm -f <Your_Container_ID>. Replace <Your_Container_ID> with your container ID.

    Example:

    docker rm -f 4951b2990936