Help with Docket Container

I’m having a bit of trouble making a container with docket running in it. Has anyone here had any luck with this? My goal is then use the container on Flatcar or Photon OS to pull pcap from containerized Stenographers spread around our network. I’m fairly new to containers so it may be that I’m just missing something completely.

I’m working with the Rock Base container with the following Dockerfile from the RockNSM Github

After building the base from that Dockerfile with all of the files that go in it (only adding the Rock 2.1 repository for the confd package), I use the following Docker file to try and build Docket based on the non-containerized Docket installation instructions.

FROM rocknsm/base:latest

ENV container docker

# Install the packages
RUN yum install -y docket nginx && rm -rf /var/cache/yum/*

# Add Stenographer group since this server will not have Stenographer installed
RUN groupadd stenographer

# Install a default nginx config for docket
RUN cp /usr/share/doc/docket-*/nginx-example.conf

# Enable and start both nginx and docket
RUN systemctl enable nginx docket.socket

# Expose http port

# systemd starts by default (from parent)

However, I cannot get this to seemingly start Docket properly. When I shell into the container and start nginx manually I can hit an nginx page but just get the error message 502 Bad Gateway.

Any help or comments would be greatly appreciated.

UPDATE: I am also seeing the following error in the nginx error.log:
2020/02/12 15:13:42 [crit] 312#0: *17 connect() to unix:/run/docket/docket.socket failed (13: Permission denied) while connecting to upstream, client:, server: docket, request: “GET / HTTP/1.1”, upstream: “uwsgi://unix:/run/docket/docket.socket:”, host: “”