Skip to content

Docker DIND 19.03.15, enable debug mode via environment varibales #300

@prudhvigodithi

Description

@prudhvigodithi

Hey everyone, I have recently started using docker dind image version 19.03.15, I'm trying to enable debug mode to see
time="2021-03-17T13:15:15.209381890Z" level=error msg="Handler for POST /images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"
from the above error what container is being pulled, like the name of the container, however, I see I cannot add any docker options to the default 19.03.15 dind docker image, I see a few old tickets
#20
https://github.com/docker-library/docker/pull/12/commits
Where we have an option to pass docker opts, but going through the new 19.03.15 DIND image I can't pass any extra docker options to the daemon, Any fix is there or an existing solution for my issue, please let me know.

We have an application that tries to pull an image from the internal docker registry, but when this application uses docker dind image, I get the above-mentioned timeout error going to outside docker registry, but when the same application uses host docker socket directly mounting from AWS ec2 installed docker socket works fine, so I wanted to enable debug mode on DIND image to further check the error.
Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions