nginxinc/nginx-ldap-auth

Docker needs to expose port

TafkaMax opened this issue · 0 comments

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.