I’m currently trying to learn how to use Docker.
My goal is to learn how to dockerize cryptocurrency wallets into docker containers that I can either send commands to like a normal container, or VNC into for GUI control in the wallet software.
I’ve started with trying to get a simple apline-based image running that I can VNC into. I’ve found an example container danielguerra/alpine-vnc that I’m trying to learn from.
I’ve copied the parts of the dockerfile that seem relevant;
RUN apk --no-cache --update add x11vnc
RUN apk --no-cache add xvfb openbox xfce4-terminal supervisor sudo && addgroup alpine && adduser -G alpine -s /bin/sh -D alpine && echo “alpine:alpine” | /usr/sbin/chpasswd && echo “alpine ALL=(ALL) ALL” >> /etc/sudoers && rm -rf /apk /tmp/* /var/cache/apk/*
CMD [“/usr/bin/supervisord”, “-c”, “/etc/supervisord.conf”]
But upon running the container, it errors out:
Error: could not read config file /etc/supervisord.conf
For help, use /usr/bin/supervisord -h
The supervisord.conf file IS there; supervisord is just refusing to read it.
This seems to work in danielguerra’s container, but I don’t understand what it does to force supervisord to work.