Spaces:
Build error
Build error
Error s6-overlay-preinit: fatal: unable to mkdir /var/run/s6: Permission denied
#1
by
misantamaria
- opened
In case it helps. I got my Docker Space runing by doing chmod +777 (can be less) to /var/run/s6 in the dockerfile :)
Can you provide where and how I should put those code in my dockerfile?
My last docker image looks like this
FROM image
SHELL [ "/bin/bash", "--login", "-c" ]
#UID 1000
RUN echo "${USER_ID} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN chown ${USER_ID}:${GROUP_ID} /var/run/s6
...