Giter Site home page Giter Site logo

downgrading docker version about dinghy HOT 17 CLOSED

codekitchen avatar codekitchen commented on September 28, 2024
downgrading docker version

from dinghy.

Comments (17)

MrMMorris avatar MrMMorris commented on September 28, 2024

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

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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.

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

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...

from dinghy.

digitalkaoz avatar digitalkaoz commented on September 28, 2024

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

from dinghy.

digitalkaoz avatar digitalkaoz commented on September 28, 2024

@codekitchen it works

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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

from dinghy.

digitalkaoz avatar digitalkaoz commented on September 28, 2024

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

Brian Palmer [email protected] 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).

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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.

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

@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.

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

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

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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.

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

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

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

@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.

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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?

from dinghy.

MrMMorris avatar MrMMorris commented on September 28, 2024

@codekitchen wow you are fast at responding 😄

I will take a look, thanks!

from dinghy.

codekitchen avatar codekitchen commented on September 28, 2024

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

from dinghy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.