Files
ark/website/docs/provider/coordinator/run-docker.md
Marco Argentieri 8371e9f1c2 rename dev_portal to website (#20)
* rename dev_portal to website

* rename dev_portal to website

* master not main
2023-11-29 00:35:10 +01:00

1.4 KiB

sidebar_position, title
sidebar_position title
3 Run with Docker

The Coordinator can be served as a dockerized application by following the steps below:

  1. Install Docker - if you're on Linux, don't forget the post-installation steps!
  2. Download the latest image of the connector with docker pull ghcr.io/ark-network/coordinatord:latest
  3. Create a coordinatord/ folder in your current directory - to mount the datadir as external volume - and start the dockerized service with
$ docker run -it -d --name coordinatord \
  -u
  -v "$(pwd)/coordinatord:/home/ark/.coordinatord" \
  -e ARK_COORDINATOR_LOG_LEVEL=5 \
  ghcr.io/ark-network/coordinatord:latest

You can check the logs of the service at anytime by running docker logs coordinatord.

The dockerized Coordinator can be configured by the means of environment variables or by adding a config.json file to the coordinatord/ folder you've created. Learn more about this by visiting this section.

The service comes also with an embedded CLI, so it's enough for you to create an alias like the following to use it:

$ alias coordinator="docker exec coordinatord coordinator"

Take a look at how to configure the CLI before start interacting with the running Coordinator.