-
Notifications
You must be signed in to change notification settings - Fork 117
Wrong Docker version on host #13
Comments
I believe we should simply update the embedded docker version to be 1.9.1 (or latest) |
@mikljohansson But this is the problem actually: my host has Docker 1.8.3, but |
Same here, AWS ECS a bit outdated (or as some people call it: "stable") ;-) |
@mikljohansson I was thinking there are 2 options :
|
@salimane I'm thinking there's a 3rd option
Keeping all the env vars compatible should ensure no one notice a difference if we did such a rewrite. We'd also need to avoid using the golang:onbuild base image because of its horrible bloatiness. Travis could build the binary and then package it into an image and push that to Docker Hub. Rather than having docker hub build the image directly which forces use of golang:onbuild since the hub only supports dockerized builds. But otherwise I'd say it makes more sense to try and use some sort of tagging scheme that includes the Docker version, or Docker API version like you suggest and with extra tags for the people that just want the latest version. E.g.
|
Having same issue here: |
Crazy idea but couldn't the docker client just be mounted from the host? Something like edit: oops, apparently that won't work : binocarlos/powerstrip-weave#8 |
Ended up forking the dockerfile to use docker v1.7.1, here it is if anyone else needs it: https://github.com/olalonde/docker-cleanup .. would still be nice if it was officially supported through tags here. |
As of Docker 1.10, there is now support for the DOCKER_API_VERSION environment variable that allows you to dictate which API version that the client should use. Alpine linux currently only has 1.9.1 available, but the edge branch currently includes 1.11.1. |
Hi, I wanted to use this useful tool on a EC2 instance running the last CoreOS stable AMI (version 835.11.0,
ami-7e72c70d
).The thing is that it comes with Docker 1.8.3:
When I try to run
docker-cleanup
withdocker run -v /var/run/docker.sock:/var/run/docker.sock:rw -v /var/lib/docker:/var/lib/docker:rw meltwater/docker-cleanup:latest
, I get:Is there a way to use an older version of
docker-cleanup
that runs the same version of my host? Do you have any suggestion?Isn't this a common issue? I don't think that all the people is using Docker 1.9.
Thanks a lot!
The text was updated successfully, but these errors were encountered: