Minimal docker-compose based on Alpine Linux.
10K+
Dockerfile linkslatest (Dockerfile) 1, 1.24, 1.24.0, (Dockerfile) 1.8, 1.8.0, (Dockerfile) 1.7, 1.7.1 (Dockerfile) 1.6, 1.6.2 (Dockerfile) 1.5, 1.5.2 (Dockerfile) Note: This is similar to docker/compose image, but this image is based on Alpine on an auto-build.
docker-composeDocker Compose is useful during development and to simplify building and running linked Docker images.
$ docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-v $PWD:/code:ro \
wernight/docker-compose build
docker-compose so do not run wernight/docker-compose docker-compose./code is the default current working directory.--user $UID:$GID.Note: You should use a docker-compose version that is compatible with your docker version.
You may setup an alias to run this is if you were running docker-compose directly.
Here is a function that works for Bash/ZSH (except the name, it's POSIX-compatible):
docker-compose () {
DIRNAME=$"$(basename \"$PWD\")"
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
-w "/$DIRNAME" -v "$PWD":"/$DIRNAME":ro \
wernight/docker-compose "$@"
}
Suggestions are welcome on our GitHub issue tracker.
Content type
Image
Digest
Size
21.2 MB
Last updated
over 7 years ago
docker pull wernight/docker-compose