Sign inSign up

kalemena/compose

By kalemena

Updated almost 10 years ago

docker client and docker-compose specific version running inside a docker image

Image
0

347

kalemena/compose repository overview

Docker client and server can be incompatible when using remote API. With this image, one may put proper client version in front of older server version. This is also useful in case when user requires a bit of orchestration around compose capabilities while still keeping single command line to run a complex environment.

Versions

The tag is docker version (not compose version)

  • latest
  • 1.11.2

How-To

Run

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/docker-compose.yml:/docker-compose.yml kalemena/compose:1.11.2 docker version

docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/docker-compose.yml:/docker-compose.yml kalemena/compose:1.11.2 docker-compose up -d

Build

docker build --build-arg DOCKER_VERSION=1.11.2 --build-arg DOCKER_COMPOSE_VERSION=1.8.0 -t kalemena/compose:1.11.2 .

Tag summary

Content type

Image

Digest

Size

43.9 MB

Last updated

almost 10 years ago

docker pull kalemena/compose