docker / dev-environments

63 stars 32 forks source link

Proxy not detected #31

Open Robin-Ln opened 3 years ago

Robin-Ln commented 3 years ago

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

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

ktdharan commented 3 years ago

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

glours commented 3 years ago

@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

Robin-Ln commented 3 years ago

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

crowmedia commented 2 years ago

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.