LDAP authentication in Docker container

↘锁芯ラ 提交于 2019-12-05 20:20:42

I would recommend just using the USER directive within the Docker build file and avoid installing the sshd daemon (I imagine configuring the latter would be the way to enable the feature you'd looking for).

In other words, by all means run processes as non-root system users, but never interactively login to the container. This latter point means you don't need to worry about support LDAP based authentication.

The best control you can have against a particular risk is to remove the risk.

Patrick Clemins

Check out this potential workaround and my own further description of the caveats of this workaround:

https://serverfault.com/questions/789321/openldap-client-inside-a-docker-container/841202#841202

I'm happy to share my Dockerfile to modify the container to support LDAP lookup if you ask...

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!