NOTE this is still in progress, currently these steps are not sufficient!
This is a description of how to set up Docker for Mac with the company proxy CNTLM to ensure Internet access is supported.
- first run
ifconfig
in the terminal, determine IP ofen0
network adapter, e.g.inet 172.23.123.234
.
- open Docker for Mac preferences (accessible from menu bar)
- select
Proxies
tab, selectManual Proxy Configuration
and fill in the IP for both fieldsWeb Server (HTTP)
andSecure Web Server (HTTPS)
- Press
Apply & Restart
to restart Docker deamon.
This assumes CNTLM is running on 127.0.0.1:3128
.
- edit the CNTLM configuration, e.g.
cntlm.conf
- set entry
Gateyway yes
- set entry
Listen 0.0.0.0:3128