Skip to content

perekuera/docker-cntlm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-cntlm

Docker image with cntlm service support

Build image

$ ./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.

Or buid without script

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.

Run

$ docker compose up -d

Stop

$ docker compose down

View logs

$ docker compose logs

View/update config

$ docker exec -it cntlm /bin/sh
/etc/cntlm # cat cntlm.conf

Restart container

$ docker compose restart