Bug
The Presto docker-compose file (tools/deployment/presto-clp/docker-compose.yaml) uses mutable
:dev image tags for both presto-coordinator and presto-worker services without setting
pull_policy: "always". Docker Compose's default pull policy is missing, which means it only
pulls an image if one doesn't already exist locally. As a result, once a :dev image is cached
locally, subsequent docker compose up invocations will reuse the stale local copy even if a newer
version has been pushed to the registry.
Expected: Running docker compose up should always use the latest :dev images from the
registry.
Actual: Docker reuses the locally cached :dev images, which may be outdated.
Affected services:
presto-coordinator: ghcr.io/y-scope/presto/coordinator:dev
presto-worker: ghcr.io/y-scope/presto/prestissimo-worker:dev
CLP version
dbc1799
Environment
Any environment using Docker Compose with the Presto deployment (tools/deployment/presto-clp/docker-compose.yaml) that has previously pulled an older Presto image.
Reproduction steps
- Run
docker compose up in tools/deployment/presto-clp/ to pull the :dev images.
- Wait for a newer
:dev image to be pushed to the registry.
- Run
docker compose up again.
- Observe that the locally cached (stale) images are used instead of the latest ones from the
registry.
Bug
The Presto docker-compose file (
tools/deployment/presto-clp/docker-compose.yaml) uses mutable:devimage tags for bothpresto-coordinatorandpresto-workerservices without settingpull_policy: "always". Docker Compose's default pull policy ismissing, which means it onlypulls an image if one doesn't already exist locally. As a result, once a
:devimage is cachedlocally, subsequent
docker compose upinvocations will reuse the stale local copy even if a newerversion has been pushed to the registry.
Expected: Running
docker compose upshould always use the latest:devimages from theregistry.
Actual: Docker reuses the locally cached
:devimages, which may be outdated.Affected services:
presto-coordinator:ghcr.io/y-scope/presto/coordinator:devpresto-worker:ghcr.io/y-scope/presto/prestissimo-worker:devCLP version
dbc1799
Environment
Any environment using Docker Compose with the Presto deployment (
tools/deployment/presto-clp/docker-compose.yaml) that has previously pulled an older Presto image.Reproduction steps
docker compose upintools/deployment/presto-clp/to pull the:devimages.:devimage to be pushed to the registry.docker compose upagain.registry.