Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot forward gpg-agent when "docker-in-docker" is enabled in devcontainer #1114

Open
pan93412 opened this issue Jun 7, 2024 · 0 comments
Labels

Comments

@pan93412
Copy link

pan93412 commented Jun 7, 2024

What happened?

The exact same issue mentioned in #881 (comment).

$ devpod ssh devpod-issue --debug
<omitted>
19:06:17 info Initializing gpg-agent forwarding
19:06:17 info Decoding input public key
19:06:17 info Decoding input owner trust
19:06:17 info Stopping container gpg-agent
19:06:17 info gpg: importing gpg public key in container
19:06:17 info gpg: importing gpg owner trust in container
19:06:17 info Ensuring paths existence and permissions
19:06:17 info Ensure stopping container gpg-agent
19:06:17 info Setup local gnupg socket links
19:06:17 debug Received ping from agent
19:06:17 debug Connection to container closed
19:06:17 debug done inject
19:06:17 fatal error forwarding /Users/pan93412/.gnupg/S.gpg-agent.extra: EOF
19:06:17 debug done injecting

What did you expect to happen instead?

I should be able to log in into my container.

How can we reproduce the bug? (as minimally and precisely as possible)

https://github.com/pan93412/devpod-regression-20240607

My devcontainer.json:

{
    "image":"mcr.microsoft.com/devcontainers/go",
    "features": {
        "ghcr.io/devcontainers/features/docker-in-docker:2": {}
    }
}

Local Environment:

  • DevPod Version: v0.5.12
  • Operating System: Mac
  • ARCH of the OS: ARM64

DevPod Provider:

  • Cloud Provider: aws

Anything else we need to know?

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

No branches or pull requests

1 participant