docs(docker): say the keyring checksum follows an overridden key URL
Build / build (pull_request) Successful in 28s
Lint / lint (pull_request) Successful in 3m37s
Molecule / molecule (pull_request) Successful in 7m29s

Set docker_keyring_checksum together with docker_gpg_url, and state that
the checksum is the hex digest without the sha256: prefix.

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-27 22:25:00 +00:00
1 parent c7c38c6bc0
commit a185a301db
4 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ The role targets Ubuntu hosts only: it installs from Docker's Ubuntu repository,
| `docker_keyring_path` | `/etc/apt/keyrings/docker.asc` | no | Repository key location. |
| `docker_apt_list_path` | `/etc/apt/sources.list.d/docker.list` | no | APT source file. |
| `docker_gpg_url` | `https://download.docker.com/linux/ubuntu/gpg` | no | Key URL. |
| `docker_keyring_checksum` | sha256 of the current Docker key | no | Expected sha256 of the key at `docker_gpg_url`; a mismatch fails the download, so a changed key stops the install until this is updated. |
| `docker_keyring_checksum` | sha256 of the current Docker key | no | Expected sha256 (hex, no `sha256:` prefix) of the key at `docker_gpg_url`; set it too when `docker_gpg_url` is overridden; a mismatch fails the download, so a changed key stops the install until this is updated. |
| `docker_repo_base_url` | `https://download.docker.com/linux/ubuntu` | no | Repository base URL. |
| `docker_apt_arch` | derived from the host | no | Architecture in the APT source. Empty derives it (`x86_64` gives `amd64`, `aarch64` gives `arm64`); another architecture fails until this is set. A value set here is always used; lowercase letters and digits only. |
| `docker_start_missed` | `false` | no | Install a boot unit that starts the containers Docker skipped after a reboot (see [Boot and shutdown units](#boot-and-shutdown-units)). |