Skip to content

Commit c185305

Browse files
committed
docker image verify
1 parent 09e7cfb commit c185305

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

source/mainnet/docs/installation/downloads.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@ For the system requirements to run a node, see :ref:`System requirements to run
195195

196196
.. dropdown:: Linux-Docker |mainnet-node-version|
197197

198-
To learn how to run a node with Ubuntu, see :ref:`Run a node on a server with Ubuntu <run-node-ubuntu>`. To upgrade your Docker node either restart the service if you are using the `:latest` image tag, or change the image tag to the new version. See :ref:`Running/upgrading a node<running-a-node>` for details.
198+
To learn how to run a node with Docker, see :ref:`Run a node with Docker <run-a-node>`.
199+
200+
To upgrade your Docker node either restart the service if you are using the `:latest` image tag, or change the image tag to the new version. See :ref:`Running/upgrading a node<running-a-node>` for details.
201+
202+
See :ref:`Verify Concordium Node Docker Image<verify-docker-image>` for how the verify the signature on the Docker image.
199203

200204
.. dropdown:: Windows |mainnet-node-version|
201205

@@ -230,6 +234,8 @@ For the system requirements to run a node, see :ref:`System requirements to run
230234

231235
To upgrade your Docker node either restart the service if you are using the `:latest` image tag, or change the image tag to the new version. See :ref:`Running/upgrading a node<running-a-node>` for details.
232236

237+
See :ref:`Verify Concordium Node Docker Image<verify-docker-image>` for how the verify the signature on the Docker image.
238+
233239
.. dropdown:: Windows |testnet-node-version|
234240

235241
To run a node on Windows, `download a Testnet Windows Installer package <https://distribution.concordium.software/windows/Signed/Node-8.0.3-1.msi>`_. **Please be aware that you should backup your configuration, as the installer will overwrite the current configuration with a standard configuration.**

source/mainnet/docs/installation/verification-instructions.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ Verification instructions
77

88
To find instructions on how to verify the integrity of the file you have downloaded, navigate to the respective section that outlines the steps needed for that specific file.
99

10+
.. _verify-docker-image:
11+
12+
Verify Concordium Node Docker Image
13+
===================================
14+
15+
The Docker images are signed with Sigstore Cosign. To verify
16+
the signature run ``cosign verify`` with the ``certificate-oidc-issuer`` and ``certificate-identity`` as specified (important):
17+
18+
.. code-block:: console
19+
:substitutions:
20+
21+
$cosign verify concordium/mainnet-node:|mainnet-node-version| \
22+
--certificate-identity=https://github.com/Concordium/concordium-node/.github/workflows/release.yaml@refs/heads/main \
23+
--certificate-oidc-issuer=https://token.actions.githubusercontent.com
24+
25+
This verifies that the image was build and signed by Concordium. You can replace the image with ``testnet-node`` and the tag with the tag you want to run.
26+
1027
Concordium Desktop Wallet
1128
=========================
1229

source/mainnet/docs/network/nodes/run-node.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ Running/upgrading a node
4242
========================
4343

4444
Concordium provides two Docker images, a `mainnet <https://hub.docker.com/r/concordium/mainnet-node>`_ one and a `testnet <https://hub.docker.com/r/concordium/testnet-node>`_ one.
45-
These images are designed to be used together with docker-compose, or a similar driver. This guide provides a sample configuration using ``docker-compose``.
45+
The images are signed with Sigstore Cosign and the signature can be verified by following :ref:`Verify Concordium Node Docker Image<verify-docker-image>`.
46+
47+
The images are designed to be used together with docker-compose, or a similar driver. This guide provides a sample configuration using ``docker-compose``.
4648

4749
The node requires a database which must be stored on the host system so that it persists when the docker container is stopped. It is up to the user to select the location of the database on their host system. In the guide the location used is ``/var/lib/concordium-mainnet`` or ``/var/lib/concordium-testent`` but any location to which the user that runs the Docker command has access to will do.
4850

0 commit comments

Comments
 (0)