latest
,1.24.0
(Dockerfile)1.23.2
(Dockerfile)1.23.1
(Dockerfile)1.23.0
(Dockerfile)1.22.0
(Dockerfile)1.21.2
(Dockerfile)1.19.0
(Dockerfile)1.18.0
(Dockerfile)1.17.1
(Dockerfile)
Tags correspond to the docker-compose version used in the image
Extremely small Docker-Compose image built with Alpine:Latest that's only 40M.
GitHub Repo: https://github.com/robpco/docker-compose-alpine
Docker Hub Image: https://hub.docker.com/r/robpco/docker-compose-alpine
Pull the image with:
docker pull robpco/docker-compose-alpine
Configure your system to use this image as a local command by creating an alias in .bashrc:
alias docker-compose='docker run --rm -t $(tty &>/dev/null && echo "-i") robpco/docker-compose-alpine'
To use a specific version of docker-compose (that's not available via an image tag):
- clone this repo locally
- edit the Dockerfile and set DOCKER_COMPOSE_VERSION to the required version
- note: the version specified must be available on PyPi
- build your adjusted Dockerfile with a unique tag:
docker build -t docker-compose-alpine:${UNIQUE_VERSION} .
- use as described above, but use your unique tag when defining the
alias