mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 04:04:21 +01:00
1.4 KiB
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:
- Install Docker - if you're on Linux, don't forget the post-installation steps!
- Download the latest image of the connector with
docker pull ghcr.io/ark-network/coordinatord:latest - 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.