From e4d41cf4687f3a5a34a3565b6461dec21917da14 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 16 Sep 2025 15:26:46 +0200 Subject: [PATCH 1/2] docs: fix client Docker command Which was not downloading the restored Cardano database in the mounted volume by default. --- docs/website/root/manual/develop/nodes/mithril-client.md | 4 ++-- .../root/manual/getting-started/bootstrap-cardano-node.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/website/root/manual/develop/nodes/mithril-client.md b/docs/website/root/manual/develop/nodes/mithril-client.md index 7cf0fc48d0b..328366f1359 100644 --- a/docs/website/root/manual/develop/nodes/mithril-client.md +++ b/docs/website/root/manual/develop/nodes/mithril-client.md @@ -398,14 +398,14 @@ Proceed by creating a shell function for the Mithril client: ```bash mithril_client () { - docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ + docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -w /app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ } ``` ```powershell function mithril_client { - docker run --rm -e GENESIS_VERIFICATION_KEY=$env:GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$env:AGGREGATOR_ENDPOINT --name='mithril-client' -v ${PWD}:/app/data ghcr.io/input-output-hk/mithril-client:$env:MITHRIL_IMAGE_ID $args + docker run --rm -e GENESIS_VERIFICATION_KEY=$env:GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$env:AGGREGATOR_ENDPOINT --name='mithril-client' -v ${PWD}:/app/data -w /app/data ghcr.io/input-output-hk/mithril-client:$env:MITHRIL_IMAGE_ID $args } ``` diff --git a/docs/website/root/manual/getting-started/bootstrap-cardano-node.md b/docs/website/root/manual/getting-started/bootstrap-cardano-node.md index 55c221075bb..162f7ececcc 100644 --- a/docs/website/root/manual/getting-started/bootstrap-cardano-node.md +++ b/docs/website/root/manual/getting-started/bootstrap-cardano-node.md @@ -180,7 +180,7 @@ Then, create a shell function for the Mithril client: ```bash mithril_client () { - docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ + docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -w /app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ } ``` From 429c44bc2e9b42f16df43fa88981885003b08dd0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Raynaud Date: Tue, 16 Sep 2025 15:27:16 +0200 Subject: [PATCH 2/2] docs: fix client Docker command in maintained version Which was not downloading the restored Cardano database in the mounted volume by default. --- .../version-maintained/manual/develop/nodes/mithril-client.md | 4 ++-- .../manual/getting-started/bootstrap-cardano-node.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/website/versioned_docs/version-maintained/manual/develop/nodes/mithril-client.md b/docs/website/versioned_docs/version-maintained/manual/develop/nodes/mithril-client.md index 58805a33f28..676e5349f9a 100644 --- a/docs/website/versioned_docs/version-maintained/manual/develop/nodes/mithril-client.md +++ b/docs/website/versioned_docs/version-maintained/manual/develop/nodes/mithril-client.md @@ -395,14 +395,14 @@ Proceed by creating a shell function for the Mithril client: ```bash mithril_client () { - docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ + docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -w /app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ } ``` ```powershell function mithril_client { - docker run --rm -e GENESIS_VERIFICATION_KEY=$env:GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$env:AGGREGATOR_ENDPOINT --name='mithril-client' -v ${PWD}:/app/data ghcr.io/input-output-hk/mithril-client:$env:MITHRIL_IMAGE_ID $args + docker run --rm -e GENESIS_VERIFICATION_KEY=$env:GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$env:AGGREGATOR_ENDPOINT --name='mithril-client' -v ${PWD}:/app/data -w /app/data ghcr.io/input-output-hk/mithril-client:$env:MITHRIL_IMAGE_ID $args } ``` diff --git a/docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md b/docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md index 53bff3c71ed..7a2079f5749 100644 --- a/docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md +++ b/docs/website/versioned_docs/version-maintained/manual/getting-started/bootstrap-cardano-node.md @@ -180,7 +180,7 @@ Then, create a shell function for the Mithril client: ```bash mithril_client () { - docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ + docker run --rm -e GENESIS_VERIFICATION_KEY=$GENESIS_VERIFICATION_KEY -e AGGREGATOR_ENDPOINT=$AGGREGATOR_ENDPOINT --name='mithril-client' -v $(pwd):/app/data -w /app/data -u $(id -u) ghcr.io/input-output-hk/mithril-client:$MITHRIL_IMAGE_ID $@ } ```