Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

downgrading docker version #34

Closed
MrMMorris opened this issue Jun 25, 2015 · 17 comments
Closed

downgrading docker version #34

MrMMorris opened this issue Jun 25, 2015 · 17 comments

Comments

@MrMMorris
Copy link

Docker 1.7.0 is very much broken moby/moby#14057

How would I go about downgrading docker in the VM?

@MrMMorris
Copy link
Author

even with the workaround for that issue of manually docker pulling the image, I run into failed to build: Get https://index.docker.io/v1/repositories/commonsense/csm-dockerfiles/images: dial tcp: lookup index.docker.io on 10.0.2.3:53: too many redirects

Not sure if that's a dinghy problem

@codekitchen
Copy link
Owner

Yeah I just ran into that yesterday as well, so sad. You can install an older version of dinghy with brew reinstall https://raw.githubusercontent.com/codekitchen/dinghy/v3.0.0/dinghy.rb, but you'll need to convince homebrew to install an older version of the docker client as well, which is a pain.

@MrMMorris
Copy link
Author

cool, I will try that, thanks. Definitely a sad state lately for Docker. Seems like they care more about implementing "everything and the kitchen sink" instead of making things stable...

@digitalkaoz
Copy link

@codekitchen http://stackoverflow.com/a/31145741 thats a possible solution to integrate into the dinghy vm

@digitalkaoz
Copy link

@codekitchen it works

@codekitchen
Copy link
Owner

I don't follow, how would that fix this docker 1.7 bug?

@digitalkaoz
Copy link

IT fixes the TCP to many redirects stuff which happens only with docker
vagrant systems

Brian Palmer notifications@github.com schrieb am Do., 9. Juli 2015 16:52:

I don't follow, how would that fix this docker 1.7 bug?


Reply to this email directly or view it on GitHub
#34 (comment).

@codekitchen
Copy link
Owner

Oh I see, this ticket got conflated with two different issues. Please open a separate ticket for the redirects issue.

I should point out though that this is how dinghy used to configure virtualbox, but it was changed because it caused other issues with the DNS resolver. See this commit: babbfe7

I think the final solution will be to change dinghy's *.docker DNS resolver to not rely on the OS X host's /etc/resolver functionality, and instead modify the VM's iptables directly, similar to how https://github.com/phinze/landrush does it. It might be a while before I can tackle that though.

@MrMMorris
Copy link
Author

@codekitchen when can we expect 1.7.1? I have a habit of pointing people with b2d problems in IRC to your lovely alternative, but I am reluctant as 1.7.0 is completely broken.

@codekitchen
Copy link
Owner

I released it on the 15th -- see https://github.com/codekitchen/dinghy/blob/latest/CHANGELOG.md#302---2015-07-15

You'll need to upgrade dinghy and the VM following the instructions in the README https://github.com/codekitchen/dinghy#upgrading

@MrMMorris
Copy link
Author

ah, I did dinghy upgrade without upgrading Dinghy itself. Thanks!

@codekitchen
Copy link
Owner

oh hm I can see how that'd be confusing. maybe dinghy upgrade should ping github to see if there's a newer version of dinghy itself available.

@MrMMorris
Copy link
Author

@codekitchen I think a more pressing need would be the ability to choose what version of docker to run if possible :bowtie:

@MrMMorris
Copy link
Author

@codekitchen I really need a way of installing an older version of docker. One of the developers accidentally upgraded to 1.10 and I don't want to be using the latest as I know the network stack rewrite they did will introduce all sorts of issues.

@codekitchen
Copy link
Owner

Hey @MrMMorris now that dinghy runs on top of docker-machine and doesn't manage installing docker itself, there's nothing in dinghy anymore blocking you from changing server and client versions yourself. I haven't tried it myself though, so I don't know exactly what commands you'd want to run -- maybe docker-machine has it documented somewhere?

@MrMMorris
Copy link
Author

@codekitchen wow you are fast at responding 😄

I will take a look, thanks!

@codekitchen
Copy link
Owner

Haha, you were just fortunate enough to ask a question while I was catching up on email while walking the dog :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants