nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
678 stars 202 forks source link

Docker needs to expose port #87

Open TafkaMax opened 3 years ago

TafkaMax commented 3 years ago

I was trying out the docker implementation and I found that you can't actually connect to the running container.

Some background information: https://docs.docker.com/engine/reference/builder/#expose

The docker file does contain: Expose 8888

When running the container you also need to expose the port.

eg. docker run -p 8888:8888 -d image_name

the -d also stands for deattached.