A multi arch docker image (with support for arm64) has landed

Folks,

I’m happy to let you know that project nessus-cardano has landed. It provides multi-arch images for Cardano Relay and Block Producer nodes.

The images come with a some extra functionality, that I found useful when setting up these nodes …

  • Built-in topology updater
  • Built-in gLiveView

Much of this work was inspired by @nemo83 - cudos for that :wink:

It should now be possible to spin up a Cardano node as simple as this …

docker run --detach \
    --name=relay \
    -p 3001:3001 \
    nessusio/cardano run

you can then monitor your node like this …

docker exec -it relay gLiveView

relay-glview

Access the CLI like this …

docker exec -it relay \
  cardano-cli query tip --mainnet

{
    "blockNo": 5102089,
    "headerHash": "e5984f27d1d3b5dcc296b33ccd919a28618ff2d77513971bd316cffd35afecda",
    "slotNo": 16910651
}

and don’t have to worry about cron jobs that update your topology, because the container already does that internally like this …

CARDANO_CONFIG=/opt/cardano/config/mainnet-config.json
CARDANO_TOPOLOGY=/opt/cardano/config/mainnet-topology.json
...

Installing 30 * * * *  root  /usr/local/bin/topologyUpdater
Starting periodic command scheduler: cron.

You can do this on your favorite high end VPS or (to get started) on the RaspberryPi at home.

Enjoy
– thomas

3 Likes

This is really a great job @tomdx I’ll check your project out in the next few days. Thanks for putting all this effort into it :smiley: