Markus Pesch b8e540a75b
Some checks failed
Build / build-amd64 (push) Successful in 7m59s
Markdown linter / markdown-link-checker (push) Failing after 26s
Markdown linter / markdown-lint (push) Failing after 12s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 13s
Build / build-arm64 (push) Successful in 10m31s
docs(README): add example
2025-05-06 22:18:42 +02:00

22 lines
966 B
Markdown

# docker-compose-docker
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/docker-compose)](https://hub.docker.com/r/volkerraschek/docker-compose)
This project contains all sources to build the container image `docker.io/volkerraschek/docker-compose`. The primary
goal of this project is to package the binary `docker-compose` as container image. The source code of the binary can be
found in the upstream project of [docker/compose](https://github.com/docker/compose).
The workflow or how `docker-compose` can in general be used is documented [here](https://docs.docker.com/compose/).
Nevertheless, here are some examples of how to use the container image.
```bash
IMAGE_VERSION=2.34.0
docker run \
--rm \
--volume ./path/to/docker-compose.yml:/workdir/docker-compose.yml:ro \
--volume /var/run/docker.sock:/var/run/docker.sock \
--workdir /workdir \
git.cryptic.systems/volker.raschek/docker-compose:${IMAGE_VERSION} \
ps
```