dev-environments
dev-environments copied to clipboard
Can't create dev environment with non-GitHub server
Describe the bug I'm unable to clone from an internal/private/on-prem git repo - accessed through a corp VPN - and the error logged seems to hint at something related to the DNS resolver.
"Logs" extract:
Cloning into '/code'...
fatal: unable to access 'https://corp.repo.internal/my/project/': Could not resolve host: corp.repo.internal
(gh clone
and git clone
against that server works fine on my machine normally)
Write To Reproduce Steps to reproduce the behavior:
- Paste the URL of a server which is not resolvable on the internet (e.g.
corp.repo.internal
) - Click on 'Create'
- See container not starting, Logs for error
Expected behavior Since the server name can be resolved on the host (-when connected through VPN), it should also work from inside Docker Engine / the UI.
Desktop (please complete the following information):
- macOS Big Sur (11.4)
- Docker 3.5.2.18
Hey @cbrunnkvist
Can you retry and then create and upload a diagnostic via the menu Troubleshoot/Support
?
You can post the Diagnostic ID directly in this issue via a comment, it will be easier for us to check what happened exactly
Thanks
As a data point, I'm able to use SSH to clone a GitHub Enterprise intranet hosted location fine under 4.5.0 of Docker Desktop for Mac. (I wasn't able to get past "username" prompt for using HTTPS clone, it didn't take user input.)
Not sure if this means it's fixed or whether there was a DNS issue at the time that you were trying to execute your test of the feature.