Skip to content

Commit

Permalink
fix: rootless dind
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-klimko committed Nov 18, 2024
1 parent dbc10a4 commit 73c266c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ RUN chown -R $(id -u rootless) /dind
RUN chown -R $(id -u rootless) /var/run

RUN chown -R $(id -u rootless) /etc/ssl && chmod 777 -R /etc/ssl
USER rootless
RUN rm -i -f /var/run && ln -s /run/user/1000 /var/run

RUN set -eux; \
mkdir -p /home/rootless/.local/share/docker; \
chown -R rootless:rootless /home/rootless/.local/share/docker

VOLUME /home/rootless/.local/share/docker
USER rootless

ENTRYPOINT ["./run.sh"]
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.28.10
version: 1.28.11

0 comments on commit 73c266c

Please sign in to comment.