ERRO[0168] error waiting for container: context canceled #480

Open
opened 2025-12-29 01:19:40 +01:00 by adam · 1 comment
Owner

Originally created by @Anastusio on GitHub (Feb 24, 2023).

When I write the command

docker run -it \
     --device /dev/kvm \
     -p 50922:10022 \
     -v /tmp/.X11-unix:/tmp/.X11-unix \
     -e "DISPLAY=${DISPLAY:-:0.0}" \
     -e GENERATE_UNIQUE=true \
     -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
     sickcodes/docker-osx:ventura

I get an error finished all downloads and pulls and I don't know why:

Digest: sha256:0a41097fb20312ffeb3b30f2489acf316eae3ec7d576d95aba96f35ee2680cb9
Status: Downloaded newer image for sickcodes/docker-osx:ventura
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory.
ERRO[0168] error waiting for container: context canceled
Originally created by @Anastusio on GitHub (Feb 24, 2023). When I write the command ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura ``` I get an error finished all downloads and pulls and I don't know why: ``` Digest: sha256:0a41097fb20312ffeb3b30f2489acf316eae3ec7d576d95aba96f35ee2680cb9 Status: Downloaded newer image for sickcodes/docker-osx:ventura docker: Error response from daemon: error gathering device information while adding custom device "/dev/kvm": no such file or directory. ERRO[0168] error waiting for container: context canceled ```
Author
Owner

@PTAHume commented on GitHub (May 6, 2023):

did you intstall kvm ? you can check by running kvm-ok in wsl
also ensure you ran this sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm

@PTAHume commented on GitHub (May 6, 2023): did you intstall kvm ? you can check by running ``` kvm-ok ``` in wsl also ensure you ran this ```sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#480