KVM not available

Aperta
#2,248 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
docker, linux

Direzione di ricerca

The report is a user's host setup failure rather than a named code change: the container logs say /dev/kvm is missing even though the run command passes --device=/dev/kvm. Start by checking the reporter's host for /dev/kvm and the Docker run flags, then read the two existing comments for any diagnosis. Done means a documented cause or a reply that resolves the setup, not a code change.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Operating system

Zorin 18.1

Description

❯ ERROR: KVM acceleration is not available (/dev/kvm is missing), this will cause the machine to run about 10 times slower.
❯ ERROR: See the FAQ for possible causes, or disable acceleration by adding the "KVM=N" variable (not recommended).

Docker compose
docker run -it --rm --privileged --name windows -e "VERSION=11" -p 8006:8006 --device=/dev/kvm --device=/dev/net/tun --cap-add NET_ADMIN -v "${PWD:-.}/windows:/storage" --stop-timeout 120 docker.io/dockurr/windows
Docker log
❯ Starting Windows for Docker v6.06...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core i5 1335U | RAM: 3/4 GB | DISK: 421 GB (/0x6a656a63) | KERNEL: 7.0.14-linuxkit

❯ ERROR: KVM acceleration is not available (/dev/kvm is missing), this will cause the machine to run about 10 times slower.
❯ ERROR: See the FAQ for possible causes, or disable acceleration by adding the "KVM=N" variable (not recommended).
Screenshots (optional)

No response

Lingua principale
Shell
Stelle
54.2k
Fork
5.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di dockur/windows

Tutte le issue di dockur/windows

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.