Skip to main content

Pin and update Docker image digests in Dockerfiles and compose files

Project description

pindock

Pin and update Docker image digests in Dockerfiles and compose files.

PyPI: Version AUR: version GitHub: Release Docker: ghcr CI: Main CI: Coverage

InstallationUsagePre-commit

Installation

# PyPI
uv tool install pindock

# AUR
yay -S pindock-bin

# Docker
docker pull ghcr.io/deadnews/pindock

Usage

Usage: pindock <command> [flags]

Pin and update Docker image digests.

Commands:
  run [<files> ...] [flags]
    Pin unpinned image digests.

  check [<files> ...] [flags]
    Verify all images are pinned.

Run flags:
  -C, --dir=.      Directory to scan.
  -u, --update     Also update pinned digests to latest.
  -v, --verbose    Show all images, including pinned.

Check flags:
  -C, --dir=.      Directory to scan.
  -v, --verbose    Show all images, including pinned.

When no files are given, pindock auto-discovers files recursively.

Supported files

  • Dockerfile, Containerfile (and variants like Dockerfile.dev, *.dockerfile)
  • compose*.yml, docker-compose*.yml (and .yaml)

Supported instructions

Dockerfile Compose
FROM [--platform=...] image:tag[@digest] [AS name] image: image:tag[@digest]
COPY --from=image:tag[@digest] ...
RUN --mount=from=image:tag[@digest],... ...

Authentication

Uses existing Docker credentials. If you can docker pull, pindock works too.

Pre-commit

repos:
  - repo: https://github.com/deadnews/pindock
    rev: v1.0.0
    hooks:
      - id: pindock
      - id: pindock-check
      - id: pindock-update

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pindock-1.0.0a8-py3-none-win_arm64.whl (3.5 MB view details)

Uploaded Python 3Windows ARM64

pindock-1.0.0a8-py3-none-win_amd64.whl (4.0 MB view details)

Uploaded Python 3Windows x86-64

pindock-1.0.0a8-py3-none-musllinux_1_2_x86_64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

pindock-1.0.0a8-py3-none-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

pindock-1.0.0a8-py3-none-manylinux_2_17_x86_64.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pindock-1.0.0a8-py3-none-manylinux_2_17_aarch64.whl (3.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

pindock-1.0.0a8-py3-none-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

pindock-1.0.0a8-py3-none-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file pindock-1.0.0a8-py3-none-win_arm64.whl.

File metadata

  • Download URL: pindock-1.0.0a8-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pindock-1.0.0a8-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 bc7f9f875bbac7f14affdfd711bb1f0a50f588e5702ff871b3fe2e81fa691333
MD5 69221df2a2261ab272cb5c5b49d85557
BLAKE2b-256 1edffc95981a8a4784674e8ad79bce900a28f26531480867104057db21826851

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-win_arm64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-win_amd64.whl.

File metadata

  • Download URL: pindock-1.0.0a8-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pindock-1.0.0a8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 27792d922fc47a4cd6b2e53721defa01cece2985a6059cc0c1395a2216e52610
MD5 d5807b4ff26c0f1c2bee703bc09dba48
BLAKE2b-256 9538a0e50e44f35749756dd18cba1caedca8fa2cc5a4dc6f8cf9bc69b6413a83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-win_amd64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f8af8f6fc91bcfc09d94bcaa83974eb602080ff5ddf25f4856bbca5abc717071
MD5 60e18762d873bcc7b83aa0302378304f
BLAKE2b-256 d1f4189ec72f8db8323c37f2a21d2e6be0ca3cdb81eed0eb938858a11d93e907

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-musllinux_1_2_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fedcee5cb8095f93e7e1b7306d59e64cea76248a6befa06cc49d3674a7a60d6c
MD5 fc625e3d43726e8425cd1e8bbe1e6387
BLAKE2b-256 49cc97d08f9bb50fb8f6cbd31d456d1803a29ca5da17baacf89189fd22c72ff3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-musllinux_1_2_aarch64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 973f60d2142fe85377349ce6f19c605ccc66fa3199fecb20b253f1cd83f8010d
MD5 f60c9e568ca1c2ba00b7d29c8b5ff323
BLAKE2b-256 838913ddb0c4137e7f4c30a5fbf20d6aeda2f3f8e842c9b6dc894161001ed651

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-manylinux_2_17_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 97d68d6c810132bbb0bc3a2ba9f62c706bfe9bbd8a8afc20f94caf3d5dab6b27
MD5 ca1ecd1d1bf98f7ae8f032675fbf4eb1
BLAKE2b-256 ed73304ba4ef4fe5fabdf1f110add397dc6fe21568f95aebd00ffd45058602d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-manylinux_2_17_aarch64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73c208a72e2289a289dea2a074eeae1cc5bb88fd030f215a4de9a84a6dd9d2ea
MD5 4368b3cfc0143dd403917169c1f9eb8f
BLAKE2b-256 cb0d81c3ed3d08023c0a80bf47979b5079af7caa4dc91473cbf218391a67d83b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-macosx_11_0_arm64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a8-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a8-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2ca291c9e0380afe63f311f7f2fd16c1094bf5e20d70f9384b9c2b748d3aea5b
MD5 4e7158dc5177a5463866c83e6c8a14f6
BLAKE2b-256 53fdb84d75206295ed2d23880691a34331c04459617e58275203de2fcb0cb753

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a8-py3-none-macosx_10_9_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page