docker-windows
docker-windows copied to clipboard
s6-mkdir: warning: unable to mkdir /var/run/s6: Permission denied
Docker starts, spits out the error message "s6-mkdir: warning: unable to mkdir /var/run/s6: Permission denied" and dies
Hello. I know it has been a while, but try to run the application passing the user root, like: --user=root
Hello. I know it has been a while, but try to run the application passing the user root, like: --user=root
Hi, could you please explain it in more detail? I changed the Dockerfile, but the error does not go away.
USER root
# S6 Overlay
RUN curl -J -L -o /tmp/s6-overlay-amd64.tar.gz "https://github.com/just-containers/s6-overlay/releases/download/v$S6_OVERLAY_VERSION/s6-overlay-amd64.tar.gz" \
&& echo -n "Checking md5sum... " \
&& echo "$S6_OVERLAY_MD5HASH /tmp/s6-overlay-amd64.tar.gz" | md5sum -c - \
&& tar xzf /tmp/s6-overlay-amd64.tar.gz -C / \
&& rm /tmp/s6-overlay-amd64.tar.gz
ENTRYPOINT '/init'