Operating system
Ubuntu 26.04
Description
After previous issues, that were fixed with the help of #1588, i was successfully able to init windows. but after restarting the docker container, this error message started popping up again and again (seen in logs)
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
❯ ERROR: Status 127 while: hostname -s (line 70/13)
❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 70/13)
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
Steps for recreation:
- create Yaml files seen below
- docker compose up
- stop windows
- restart container
Thank you for helping! <3
Docker compose
# Docker Compose.yaml
name: winboat
volumes:
data:
services:
windows:
image: ghcr.io/dockur/windows:5.14
container_name: WinBoat
environment:
VERSION: "11"
RAM_SIZE: 6G
CPU_CORES: "3"
DISK_SIZE: 48G
USERNAME: chaoscom
PASSWORD: Saasmobil
HOME: ${HOME}
LANGUAGE: English
USER_PORTS: "7148"
HOST_PORTS: "7149"
ARGUMENTS: -qmp tcp:0.0.0.0:7149,server,wait=off
cap_add:
- NET_ADMIN
privileged: true
ports:
- 127.0.0.1:47270-47279:8006
- 127.0.0.1:47280-47289:7148
- 127.0.0.1:47290-47299:7149
- 127.0.0.1:47300-47309:3389/tcp
- 127.0.0.1:47310-47319:3389/udp
stop_grace_period: 120s
restart: on-failure
volumes:
- ${HOME}:/shared
- /dev/bus/usb:/dev/bus/usb
- ./oem:/oem
devices:
- /dev/kvm
# Docker compose overwrite:
services:
windows:
security_opt:
- "apparmor=docker-default"
Docker log
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core i7 1165G7 | RAM: 9/15 GB | DISK: 16 GB (ext4) | KERNEL: 7.0.0-15...
❯ Requesting Windows 11 from the Microsoft servers...
❯ ERROR: Microsoft blocked the automated download request based on your IP address.
❯ Downloading Windows 11...
0K ........ ........ ........ ........ 0% 10.3M 11m50s
7536640K ........ ........ . 100% 8.84M=17m51s
❯ Extracting Windows 11 image...
❯ Adding drivers to image...
❯ Adding OEM folder to image...
❯ Adding win11x64.xml for automatic installation...
❯ Building Windows 11 image...
❯ Creating a 48 GB growable disk image in raw format...
❯ Warning: the virtual size of the disk is 48 GB, but there is only 8.6 GB of free space left in /storage, make at least 40 GB more room available!
❯ Warning: your configured RAM_SIZE of 6 GB is very close to the 7.3 GB of memory available, please consider a lower amount.
❯ Booting Windows using QEMU v10.0.6...
BdsDxe: skipped Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)
BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)
❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,2F5E36D1-CBC1-4D97-AD89-4D3B5C1F6EFD,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,2F5E36D1-CBC1-4D97-AD89-4D3B5C1F6EFD,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,2F5E36D1-CBC1-4D97-AD89-4D3B5C1F6EFD,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,2F5E36D1-CBC1-4D97-AD89-4D3B5C1F6EFD,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
❯ Shutdown completed!
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
❯ ERROR: Status 127 while: hostname -s (line 70/13)
❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 70/13)
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
❯ ERROR: Status 127 while: hostname -s (line 70/13)
❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 70/13)
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied
❯ ERROR: Status 127 while: hostname -s (line 70/13)
❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 70/13)
❯ Starting Windows for Docker v5.14...
❯ For support visit https://github.com/dockur/windows
Screenshots (optional)
No response
Operating system
Ubuntu 26.04
Description
After previous issues, that were fixed with the help of #1588, i was successfully able to init windows. but after restarting the docker container, this error message started popping up again and again (seen in logs)
hostname: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so.6: cannot apply additional memory protection after relocation: Permission denied ❯ ERROR: Status 127 while: hostname -s (line 70/13) ❯ ERROR: Status 127 while: HOST=$(hostname -s) (line 70/13) ❯ Starting Windows for Docker v5.14... ❯ For support visit https://github.com/dockur/windowsSteps for recreation:
Thank you for helping! <3
Docker compose
Docker log
Screenshots (optional)
No response