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
ifconfigin the terminal, determine IP ofen0network adapter, e.g.inet 172.23.123.234.
- open Docker for Mac preferences (accessible from menu bar)
- select
Proxiestab, selectManual Proxy Configurationand fill in the IP for both fieldsWeb Server (HTTP)andSecure Web Server (HTTPS) - Press
Apply & Restartto 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