Open machiakas opened 4 years ago
Just run the container with environment variables (replacing the IP/port with your own):
docker run -d \
--name=firefox \
-p 5800:5800 \
-v /docker/appdata/firefox:/config:rw \
--shm-size 2g \
--privileged \
-e "HTTP_PROXY=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT" \
-e "HTTPS_PROXY=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT" \
-e "http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT" \
-e "https_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT" \
jlesage/firefox
For more examples: https://gist.github.com/yougg/5d2b3353fc5e197a0917aae0b3287d64
Hi Guys, how are you? Just to let you know, your docker firefox is amazin!
Sadly i camed with one issue. I want to automate the configuration of a proxy but the proxy requieres user and password authentication. Do you know how can i automate this? I tried to pass it to the proxy variable like user:pass@proxy but it didnt work.
Any solutions? Best regards!