windows
windows copied to clipboard
Container requires root access
Operating system
Parabola GNU/Linux-libre
Description
The container requires root access which i think is a security issue for the end user. it should be possible with rootless docker or in my case rootless podman, to do this as long as you are added to the kvm and libvirt group.
Docker compose
services:
windows-x86-64:
image: dockurr/windows
container_name: windows11-neutered
userns_mode: keep-id
environment:
VERSION: "win11e"
devices:
- /dev/kvm
# cap_add:
# - NET_ADMIN
ports:
- 127.0.0.1:8006:8006
- 127.0.0.1:3389:3389/tcp
- 127.0.0.1:3389:3389/udp
stop_grace_period: 2m
environment:
LANGUAGE: "English"
REGION: "en-GB"
KEYBOARD: "en-GB"
RAM_SIZE: "8G"
CPU_CORES: "2"
DISK_SIZE: "128G"
volumes:
- ./win:/storage
- ./win-shared:/shared
- ./win-oem:/oem
Docker log
$ docker logs windows11-neutered
❯ ERROR: Script must be executed with root privileges.
❯ ERROR: Script must be executed with root privileges.
Screenshots (optional)
No response