mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-13 13:53:28 +01:00
while runing the docker image locally getting the below error #363
Reference in New Issue
Block a user
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).
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