Docker image with cntlm service support
$ ./build.sh
You will asked for username, domain, password, proxy and additional no_proxy values. Password is not stored, it is only needed for PassNTLMv2 generation. Once executed you will have the image cntlm:v1.x in your Docker images.
docker compose build \
--build-arg USERNAME="username" \
--build-arg DOMAIN="domain" \
--build-arg PASSWORD="password" \
--build-arg PROXY="proxy";
--build-arg NOPROXY="additional_noproxy" \
--no-cache
Easy to handle through the Docker Compose API.
$ docker compose up -d
$ docker compose down
$ docker compose logs
$ docker exec -it cntlm /bin/sh
/etc/cntlm # cat cntlm.conf
$ docker compose restart