12 lines
314 B
Docker
12 lines
314 B
Docker
FROM docker:dind
|
|
|
|
# COPY ./setup-daemon.sh /bin/
|
|
# RUN chmod +x /bin/setup-daemon.sh
|
|
|
|
# ENTRYPOINT ["/bin/setup-daemon.sh"]
|
|
|
|
RUN mkdir -p /etc/docker && \
|
|
echo '{ "insecure-registries": ["http://nexus-repo-nexus-repository-manager.default.svc.cluster.local:5000"] }' > /etc/docker/daemon.json
|
|
|
|
CMD ["dockerd"]
|