Skip to content

fix: adds the possibility of using rootless Docker#403

Merged
juliusknorr merged 1 commit into
nextcloud:masterfrom
salmart-dev:feat/addRootlessDockerSupport
Aug 12, 2025
Merged

fix: adds the possibility of using rootless Docker#403
juliusknorr merged 1 commit into
nextcloud:masterfrom
salmart-dev:feat/addRootlessDockerSupport

Conversation

@salmart-dev

Copy link
Copy Markdown
Contributor

Hardcoding the doker.sock path prevents people from using Docker in rootless mode. Even when symlinking the user's docker.sock into /var/run/docker.sock does not work, as Docker does not follow the symlink and mounts a directory instead.

This patch allows to define an environment variable DOCKER_SOCKET to override the default value.

Hardcoding the doker.sock path prevents people from using Docker in
rootless mode. Even when symlinking the user's docker.sock into
/var/run/docker.sock does not work, as Docker does not follow the
symlink and mounts a directory instead.

This patch allows to define an environment variable `DOCKER_SOCKET` to
override the default value.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
@juliusknorr juliusknorr merged commit 73e8adf into nextcloud:master Aug 12, 2025
19 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants