GithubHelp home page GithubHelp logo

Comments (6)

concourse-bot avatar concourse-bot commented on June 17, 2024

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • #130024023 Garden MTU is ignored when starting docker daemon

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

from docker-image-resource.

databus23 avatar databus23 commented on June 17, 2024

Since docker 1.11 (moby/moby@fd9d7c0) docker is not adopting the MTU from the default interface anymore.

For the docker resource this could be easily fixed by adding something like this to start_docker

local mtu=$(cat /sys/class/net/$(ip route get 8.8.8.8|awk '{ print $5 }')/mtu)
local server_args="--mtu ${mtu}"

With this change the guardian setting --garden-mtu= would trickle down to the networking setup by the (inner) docker daemon which I think makes sense.

from docker-image-resource.

mdomke avatar mdomke commented on June 17, 2024

I have the same problem with running docker inside a garden container on OpenStack with concourse. The MTU setting is not being promoted properly and especially SSL based connections (e.g.: downloading a tar-archive over HTTPS) fail. I manually verified that the proposed changes from @databus23 would solve the problem. Is anyone planing on creating a pull-request therefore or should I take my chances?

from docker-image-resource.

mdomke avatar mdomke commented on June 17, 2024

Another option would obviously be to make the server_args a configuration value of the resource. @vito what do you think about this?

from docker-image-resource.

mdomke avatar mdomke commented on June 17, 2024

I created a drop in replacement image with the suggestions from @databus23, which people can use until this issue is fixed here. It's mdomke/docker-image-resource

from docker-image-resource.

vito avatar vito commented on June 17, 2024

@mdomke I'm not a fan of open-ended params like server_args in general as it tightly couples us to the docker CLI. check for example was rewritten to not use the daemon at all, and if we had done configs like that everyone would have to change their pipelines.

A PR would be great!

from docker-image-resource.

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.