nginx-ldap-auth icon indicating copy to clipboard operation
nginx-ldap-auth copied to clipboard

Docker needs to expose port

Open TafkaMax opened this issue 4 years ago • 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.

TafkaMax avatar Jul 06 '21 08:07 TafkaMax