docker run -d \
--name windows \
--restart always \
--stop-timeout 120 \
--device=/dev/kvm \
--device=/dev/net/tun \
--cap-add NET_ADMIN \
-e VERSION="10e" \
-e RAM_SIZE="8G" \
-e CPU_CORES="4" \
-e DISK_SIZE="256G" \
-p 8006:8006 \
-p 3389:3389/tcp \
-p 3389:3389/udp \
-v "${PWD}/windows:/storage" \
docker.io/dockurr/windows复制代码
Value Version Size
11 Windows 11 Pro 7.2 GB
11l Windows 11 LTSC 4.7 GB
11e Windows 11 Enterprise 6.6 GB
10 Windows 10 Pro 5.7 GB
10l Windows 10 LTSC 4.6 GB
10e Windows 10 Enterprise 5.2 GB
8e Windows 8.1 Enterprise 3.7 GB
7u Windows 7 Ultimate 3.1 GB
vu Windows Vista Ultimate 3.0 GB
xp Windows XP Professional 0.6 GB
2k Windows 2000 Professional 0.4 GB
2025 Windows Server 2025 6.7 GB
2022 Windows Server 2022 6.0 GB
2019 Windows Server 2019 5.3 GB
2016 Windows Server 2016 6.5 GB
2012 Windows Server 2012 4.3 GB
2008 Windows Server 2008 3.0 GB
2003 Windows Server 2003 0.6 GB复制代码
默认账号密码 Docker admin 10l不知道是啥原因,我装了过段时间会重启,10e没问题,没必要最好装win10以上,基本上软件都符合(3389端口最好改掉,不然有人扫端口经常被限制登陆)