Hey! I had the same issue last week. The easiest way to quickly add docker container to network proxy is by setting the proxy env vars when you run the container.
Just use:
`docker run -e HTTP_PROXY=http://your-proxy:port -e HTTPS_PROXY=http://your-proxy:port your-image`
This works for most cases without messing with Dockerfiles. If you need more control, check out Docker's docs on network settings.
Just use:
`docker run -e HTTP_PROXY=http://your-proxy:port -e HTTPS_PROXY=http://your-proxy:port your-image`
This works for most cases without messing with Dockerfiles. If you need more control, check out Docker's docs on network settings.
