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
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-ok` command from `cpu-checker` package
the output you want is:
```
INFO: /dev/kvm exists
KVM acceleration can be used
```
If not, you will need to get KVM working first before attempting to use this project.
Read the [Initial setup guide](https://github.com/sickcodes/Docker-OSX#initial-setup) for more details.
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.
@Masonchis commented on GitHub (May 6, 2024):
> You seem to be missing kvm.
>
> you can check if you have kvm available by using the `kvm-ok` command from `cpu-checker` package the output you want is:
>
> ```
> INFO: /dev/kvm exists
> KVM acceleration can be used
> ```
>
> If not, you will need to get KVM working first before attempting to use this project.
>
> Read the [Initial setup guide](https://github.com/sickcodes/Docker-OSX#initial-setup) for more details.
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.
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.
you're not giving me a lot to work with and I don't feel like guessing, please provide actual details like
distro and CPU used
output of kvm-ok
command used to start the container
any log/error messages
anything else worth mentioning that isn't part of an "average" desktop setup like for example selinux
@mariuszste commented on GitHub (May 7, 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.
you're not giving me a lot to work with and I don't feel like guessing, please provide actual details like
- distro and CPU used
- output of kvm-ok
- command used to start the container
- any log/error messages
- anything else worth mentioning that isn't part of an "average" desktop setup like for example selinux
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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