-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker in Docker: 'unshare: operation not permitted' when running GitHub Actions Runner on Azure Container Apps" #513
Comments
|
@tianon - I tried both rootless and root but ended up facing the same error while trying with different storage drivers I saw only fuse-overlayfs working. |
failed to start daemon: error initializing graphdriver: driver not supported: overlay2 |
Your container is definitely running with privileged? (even for the rootless variant, that's required) You'll also want to verify/validate that you've got actual local storage mounted at |
I'm encountering an issue when running a self-hosted GitHub Actions runner inside Azure Container Apps, which utilizes Docker in Docker installation. The Docker daemon starts up successfully with the fuse-overlayfs storage driver, but when attempting to pull an image, I receive the following error:
failed to register layer: unshare: operation not permitted
Warning: Docker pull failed with exit code 1, back off 5.716 seconds before retry.
Docker Version: Version: 27.3.1
Seccomp Configuration: I tried setting the seccomp profile to unconfined.
Custom Seccomp Policy: Created a seccomp policy that allows the unshare syscall, but the issue persists.
User Namespace: Attempted to set up user namespace remapping for a non-root user, but this also did not resolve the issue.
(not configured any storage at azure- guess won't make any difference)
I would appreciate any guidance or solutions to resolve this issue. If there are specific configurations or permissions that need to be adjusted in the Docker setup for Azure Container Apps, please let me know.
The text was updated successfully, but these errors were encountered: