question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow further options in dind

See original GitHub issue

The binderhub helm chart (when dind enabled) creates pods with fixed arguments:

        args:
          - dockerd
          - --storage-driver={{ .Values.dind.storageDriver }}
          - -H unix://{{ .Values.dind.hostSocketDir }}/docker.sock

For some deployments it may be necessary to add/change some of the options. Specifically in my case I need to specify a --mtu option for setting a smaller than the default docker MTU. It would be good to be able to specify extra options there.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
enolfccommented, Aug 7, 2019

PR #916 should fix this issue.

I have found two main ways of using extraArgs in the stable helm charts:

  • as a list, so they basically get copied to the arguments of the pod, or
  • as a dict, where you create arguments in the form of --key=value.

I opted for the first one as I don’t have quite clear if there will be any args that do not fit the --key=value schema. Also this option seems to have problems with values equal to false

1reaction
enolfccommented, Aug 6, 2019

I can create a PR for this with the extraArgs

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Docker to build Docker images - GitLab Docs
To enable Docker commands for your CI/CD jobs, you can use: The shell executor; Docker-in-Docker; Docker socket binding. If you are using shared ......
Read more >
Secure Docker-in-Docker with System Containers
Currently, there are two well known options to run Docker inside a container: Running the Docker daemon inside a container, using Docker's DinD...
Read more >
Container runs in privileged mode | Tutorial & examples
This flag exists to allow special use-cases, like running Docker within Docker. You can find more detail in this blogpost about docker in...
Read more >
How To Run Docker in Docker - Shisho Cloud
Docker in Docker (also known as dind) is, as the name implies, running Docker on top of a Docker container. Controlling containers from...
Read more >
A case for Docker-in-Docker on Kubernetes (Part 2) - Applatix
In the context of a Pod, if the user wants to have access to Docker, we have a choice between DooD and DinD....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found