Skip to content

fix:prevent docker to run as root in rootless environment#4987

Merged
unsuman merged 1 commit into
lima-vm:masterfrom
Aneesh-Hegde:docker-rootless
May 15, 2026
Merged

fix:prevent docker to run as root in rootless environment#4987
unsuman merged 1 commit into
lima-vm:masterfrom
Aneesh-Hegde:docker-rootless

Conversation

@Aneesh-Hegde
Copy link
Copy Markdown
Contributor

@Aneesh-Hegde Aneesh-Hegde commented May 15, 2026

Fixes: #4986
Disable and mask all rootful Docker and containerd units (docker.service, docker.socket, containerd.service, containerd.socket) to prevent the rootful daemon from starting alongside the rootless one.

Signed-off-by: Aneesh-Hegde <aneeshhegde7110@gmail.com>
@AkihiroSuda AkihiroSuda added this to the v2.1.2 milestone May 15, 2026
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@unsuman unsuman merged commit 8f74e63 into lima-vm:master May 15, 2026
60 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

template:docker starts both the rootless and rootful daemon

3 participants