Docker Compose CLI plugin (binary only)
1M+
This image is non-runnable and only contains the compose binary.
You can use this image to choose a specific version of Compose to use with the docker official image, for example if you want to use the nightly build version of Compose:
# syntax=docker/dockerfile:1
FROM docker
COPY --from=docker/compose-bin:edge /docker-compose /usr/libexec/docker/cli-plugins/docker-compose
RUN docker compose version
Or to embed Compose binary into your own image:
# syntax=docker/dockerfile:1
FROM my-image
COPY --from=docker/compose-bin:2.17.0 /docker-compose /usr/bin/compose
RUN compose version
Content type
Image
Digest
sha256:5e19478c1…
Size
9.8 MB
Last updated
5 days ago
Requires Docker Desktop 4.37.1 or later.
Pulls:
22,712
Last week