#docker (2023-11)

docker

All things docker

Archive: https://archive.sweetops.com/docker/

2023-11-06

jonjitsu avatar
jonjitsu

I’m working on a VM where I have to use a proxy for most requests to the internet. I have HTTP_PROXY/HTTPS_PROXY set. When I run docker run --rm bash env | grep -i prox I have HTTP_PROXY/HTTPS_PROXY/NO_PROXY vars set along with their non-uppercased versions. Is this some sort of docker feature where it detects if those are set on the host and it will set them on the container too?

jonjitsu avatar
jonjitsu

Figured it out. It was a proxy configuration in ~/.docker/config.json.

    keyboard_arrow_up