Compose image not pinned (ARCH10015)
Ce contenu n’est pas encore disponible dans votre langue.
Key config.compose.unpinned-image · Severity warning · Category quality
Without a version the next docker compose pull may run something else than the one before it, on one machine and not on another.
Incorrect
Section titled “Incorrect”services: cache: image: redis:latestCorrect
Section titled “Correct”services: cache: image: redis:7.4.1Pin a version tag or a digest.
Not flagged
Section titled “Not flagged”- A service that also has
build:: itsimage:names what the build produces, not what is pulled. - A digest and an image given by a variable (
${APP_IMAGE}).