qemu-system-x86_64
-nodefaults
-cpu host,kvm=on,l3-cache=on,+hypervisor,migratable=no,-vmx,+invtsc,arch_capabilities=off,hv_passthrough,-hv-avic,-hv-evmcs
-smp 8,sockets=1,dies=1,cores=8,threads=1
-m 8G
-machine type=q35,smm=off,graphics=off,vmport=off,dump-guest-core=off,hpet=off,accel=kvm
-enable-kvm
-global kvm-pit.lost_tick_policy=discard
-display vnc=:0,websocket=5700
-vga virtio
-monitor telnet:localhost:7100,server,nowait,nodelay
-daemonize -D /run/shm/qemu.log
-pidfile /run/shm/qemu.pid
-name windows,process=windows,debug-threads=on
-serial pty
-device qemu-xhci,id=xhci,p2=7,p3=7
-device usb-tablet
-netdev tap,id=hostnet0,ifname=qemu,script=no,downscript=no
-device virtio-net-pci,id=net0,netdev=hostnet0,romfile=,mac=02:88:D0:E3:22:FB
-drive file=/storage/data.img,id=data3,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on,if=none
-device virtio-scsi-pci,id=data3b,bus=pcie.0,addr=0xa,iothread=io2
-device scsi-hd,drive=data3,bus=data3b.0,channel=0,scsi-id=0,lun=0,rotation_rate=1,bootindex=3
-drive file=/storage2/data2.img,id=data4,format=raw,cache=none,aio=native,discard=on,detect-zeroes=on,if=none
-device virtio-scsi-pci,id=data4b,bus=pcie.0,addr=0xb,iothread=io2
-device scsi-hd,drive=data4,bus=data4b.0,channel=0,scsi-id=0,lun=0,rotation_rate=1,bootindex=4
-object iothread,id=io2
-rtc base=localtime
-global ICH9-LPC.disable_s3=1
-global ICH9-LPC.disable_s4=1
-drive file=/storage/windows.rom,if=pflash,unit=0,format=raw,readonly=on
-drive file=/storage/windows.vars,if=pflash,unit=1,format=raw
-object rng-random,id=objrng0,filename=/dev/urandom
-device virtio-rng-pci,rng=objrng0,id=rng0,bus=pcie.0
06:10.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060] (rev a1)
06:10.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1)
Operating system
Debian GNU/Linux 12 (bookworm)
Description
Hello,
I need attached a GPU Nvidia at Docker Windows 10. (**args: ...... **)
I take a command line in container:
In VM: lspci
Docker compose
Docker log
Screenshots (optional)
The GPU isn't attached :
