FROM docker:dind COPY setup-daemon.sh /usr/local/bin/ RUN chmod +x /usr/local/bin/setup-daemon.sh ENTRYPOINT ["/usr/local/bin/setup-daemon.sh"]