You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
Background: I sit behind a corporate proxy. I run cntlm locally to interface with the direct, authenticated corporate proxy. I use custom ~/.docker/config.json settings to allow spawned containers to also contact the local cntlm proxy - thereby enabling access through corporate proxy to external resources.
A Dockerfile which uses yum install, pip install, etc works with a normal docker build command but fails to contact the local proxy when devspace build is ran.
What did you expect to happen instead?
I expected devspace to invoke docker commands such that ~/.docker/config.json was honored
How can we reproduce the bug? (as minimally and precisely as possible)
reference config above.
Work around is to set ENV in Dockerfile, then unset before end of docker file.
@wadeholler thanks a lot for creating this issue! Yes you are correct, seems like we do not use the exact same parameters as docker itself does, but we can correct that! However, it currently should already work if you tell devspace to use the docker cli directly, in which case you don't need to modify the Dockerfile:
What happened?
Background: I sit behind a corporate proxy. I run cntlm locally to interface with the direct, authenticated corporate proxy. I use custom ~/.docker/config.json settings to allow spawned containers to also contact the local cntlm proxy - thereby enabling access through corporate proxy to external resources.
A Dockerfile which uses yum install, pip install, etc works with a normal docker build command but fails to contact the local proxy when devspace build is ran.
What did you expect to happen instead?
I expected devspace to invoke docker commands such that ~/.docker/config.json was honored
How can we reproduce the bug? (as minimally and precisely as possible)
reference config above.
Work around is to set ENV in Dockerfile, then unset before end of docker file.
example Dockerfile snippet:
Local Environment:
Kubernetes Cluster:
Anything else we need to know?
NA
/kind bug
The text was updated successfully, but these errors were encountered: