mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #494] while runing the docker image locally getting the below error #362
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Premkumar-Mani-NTT on GitHub (May 8, 2022).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/494
docker run --device /dev/kvm --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix -e "DISPLAY=${DISPLAY:-:0.0}" docker-osx
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory.
ERRO[0000] error waiting for container: context canceled
@dumbasPL commented on GitHub (May 19, 2022):
You seem to be missing kvm.
you can check if you have kvm available by using the
kvm-okcommand fromcpu-checkerpackagethe output you want is:
If not, you will need to get KVM working first before attempting to use this project.
Read the Initial setup guide for more details.
@Masonchis commented on GitHub (May 6, 2024):
Sorry to reopen an old thread but I'm having a similar issue on my linux mint machine, I've verified that i have kvm set up properly and i have the /dev/kvm file.
the problem I'm having is that docker doesn't seem to be able to see this file, im not sure if this might be a problem with how i set up docker. It couldnt see the /tmp files until i added the permission in the settings.
@mariuszste commented on GitHub (May 7, 2024):
you're not giving me a lot to work with and I don't feel like guessing, please provide actual details like