windows icon indicating copy to clipboard operation
windows copied to clipboard

Cannot boot after restarting, display repair error, win10 system

Open ncheng89 opened this issue 2 years ago • 5 comments

image

error log

[+] Running 1/0
 ✔ Container windows10  Created                                                                                                                                                       0.0s 
Attaching to windows10
windows10  | ❯ Starting Windows for Docker v2.08...
windows10  | ❯ For support visit https://github.com/dockur/windows
windows10  | 
windows10  | ❯ Booting Windows using QEMU emulator version 8.2.1 ...
windows10  | 
3h
3h
3h
BdsDxe: loading Boot0003 "Windows Boot Manager" from HD(1,GPT,C8DD2AE4-6CD9-4063-ABA2-9E1D39828B83,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
windows10  | BdsDxe: starting Boot0003 "Windows Boot Manager" from HD(1,GPT,C8DD2AE4-6CD9-4063-ABA2-9E1D39828B83,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
windows10  | 2024-03-29 07:38:22,824:wsdd WARNING(pid 134): cannot unset all_multicast: [Errno 92] Protocol not available
version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows10
    devices:
      - /dev/kvm
      - /dev/dri
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure
    environment:
      VERSION: "win10"
      RAM_SIZE: "8G"
      CPU_CORES: "4"
      DISK_SIZE: "100G" 
      GPU: "Y"
    volumes:
      - /data2/win/10/:/storage 

ncheng89 avatar Mar 29 '24 07:03 ncheng89

What kind of restarting? Did you click restart in Windows or did you restart the container?

kroese avatar Mar 29 '24 07:03 kroese

This is what happens after restarting the container

ncheng89 avatar Mar 29 '24 07:03 ncheng89

Is it possible to fix this problem?

ncheng89 avatar Mar 29 '24 07:03 ncheng89

I think you restart it wrongly? Looks like the container gets killed instead of stopped cleanly, and this corrupts the disk image file.

So what command do you use for restarting?

kroese avatar Mar 29 '24 07:03 kroese

The command I used :docker-compose restart

ncheng89 avatar Mar 29 '24 07:03 ncheng89