dev-environments icon indicating copy to clipboard operation
dev-environments copied to clipboard

Proxy not detected

Open robin-ln opened this issue 3 years ago • 4 comments

Describe the bug I want to use private repository. I'm using a vpn and i have configure the proxy in my .gitconfig file. I try also to configure the proxy in docker desktop

Capture d’écran 2021-07-17 à 01 36 42

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Dev Environments'
  2. Paste private gitlab url repo (in my case) who need proxy configuration
  3. Click on 'Create'
  4. See error
Preparing to clone inside a volume
Installing credential helpers... done
Cloning into '/code'...
fatal: unable to access 'https://*************************/docker.git/': Could not resolve host: *************************
exit code 128
Capture d’écran 2021-07-17 à 01 29 42

Expected behavior

  • use proxy conf in ~/.gitconfig files
  • clone the private repo https://*************************/docker.git
  • run the docker-compose in the repo (i don't know whats append here, it's my first time with docker Dev Environments)

Desktop (please complete the following information): Capture d’écran 2021-07-17 à 01 42 55 Capture d’écran 2021-07-17 à 01 42 26

PS: Sorry in advance for my english

robin-ln avatar Jul 16 '21 23:07 robin-ln

@nebuk89 Having the same problem , when using Docker Desktop on Windows. Any suggestion's would be great.

ktdharan avatar Jul 20 '21 03:07 ktdharan

@Robin-Ln @ktdharan can you reproduce the issue and then go the Troubleshoot>Support menu to generate a diagnostic? You can post the diagnostic ID directly in a comment of this issue Thanks

glours avatar Aug 12 '21 10:08 glours

Hello @glours, diagnostics ID : 262FDC42-A73D-4FBA-96CD-1BD0FCD8D118/20210817223729

robin-ln avatar Aug 17 '21 22:08 robin-ln

I have also the same problem behind my company proxy. Configured in Docker Desktop running for normal adding of containers but not for dev environments. Tried to add my proxy in config.json ... same result. Proxy in Git is also configured and deactivating in Docker Desktop it needs an authentication.

crowmedia avatar Oct 05 '22 08:10 crowmedia