I have been trying to create a Docker
image using LDAP authenticated noVNC, but I am not sure how to connect the as there seem to be under the hood networking I am too novice to debug.
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get -y install \
libnss-ldapd \
libpam-ldapd \
snap \
ADD init.sh /init.sh
RUN chmod u+x /init.sh
EXPOSE 22
CMD /init.sh
I am not sure what ENV
variables need to be set and how to set up websockify
through novnc_proxy
. I am asking this question to learn more about setting up Docker
images so please explain as much as you can.