Skip to content
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: Add troubleshooting for permission errors on /dev/kvm #468

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

UniversalSuperBox
Copy link
Contributor

I got a permission denied error when trying to use the KVM fakemachine backend on a host. The Docker documentation indicates that "the docker container process runs with the supplementary groups looked up for the specified user," but I suspect this means the groups inside the container are looked up. I added the owning group of /dev/kvm (which happened to be kvm) to the container and all is well.

I got a `permission denied` error when trying to use the KVM fakemachine backend on a host. The Docker documentation indicates that "the docker container process runs with the supplementary groups looked up for the specified user," but I suspect this means the groups _inside_ the container are looked up. I added the owning group of `/dev/kvm` (which happened to be `kvm`) to the container and all is well.
docker/README.md Show resolved Hide resolved
@obbardc obbardc added this pull request to the merge queue Jan 10, 2024
Merged via the queue into go-debos:main with commit 51537f1 Jan 10, 2024
31 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