Running Windows in a Docker container - anyone (or Kubernetes)


jimbo45

Well-known member
Pro User
VIP
Local time
11:17 AM
Posts
5,861
Location
Hafnarfjörður IS
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Hi folks

Added -- Kubernetes seems a possibly way of doing this -- also seems to be able to "isolate" Windows apps too.


I like the idea of using Docker containers - this seems to be a way forward and can be very efficient

Anybody managed to get Windows running inside a docker container -- @pparks1 you are usually good with this stuff.

It should also work on Windows itself if you use the WSL subsystem - anybody had a go at that method too.

(added -- Kubernetes stuff - probably the way to go for this)

Cheers
jimbo
 
Last edited:

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
This kind of defeats the purpose of containers. The point is to run the minimum components to run an application. Also fairly certain only dotNET core based apps really work in a container.
 

My Computer My Computer

At a glance

Linux Mint
OS
Linux Mint
Computer type
Laptop
Manufacturer/Model
System76 Lemur Pro
Better use Hyper-V virtualisation.
 

My Computer My Computer

At a glance

macOSApple silicon M432 GBApple silicon M4
OS
macOS
Computer type
PC/Desktop
Manufacturer/Model
Mac mini M4
CPU
Apple silicon M4
Memory
32 GB
Graphics Card(s)
Apple silicon M4
Monitor(s) Displays
LG 27GN650-B IPS HDR Gaming Monitor 27" FHD
Screen Resolution
1080p
Hard Drives
Apple SSD AP1024Z
Internet Speed
1 Gbps / 1 Gbps symmetrical FTTH (GPON)
Browser
Microsoft Edge
We don't run any windows containers in docker. Couple of reasons.
  1. Host machine would have to be running Windows in order to utilize the operating systems resources and drivers.
  2. The containers would be huge, and would take a very long time to pull the image, extract, install, etc.. Somewhat defeats purpose of a container.
 

My Computers My Computers

  • At a glance

    Windows 11 ProIntel Core i5-8279u32GB DDR4 2666MhzIntel Iris Plus 655
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Beelink SEI8
    CPU
    Intel Core i5-8279u
    Motherboard
    AZW SEI
    Memory
    32GB DDR4 2666Mhz
    Graphics Card(s)
    Intel Iris Plus 655
    Sound Card
    Intel SST
    Monitor(s) Displays
    Asus ProArt PA278QV
    Screen Resolution
    2560x1440
    Hard Drives
    512GB NVMe
    PSU
    NA
    Case
    NA
    Cooling
    NA
    Keyboard
    NA
    Mouse
    NA
    Internet Speed
    500/50
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    Mini PC used for testing Windows 11.
  • At a glance

    Windows 10 ProRyzen 9 5900x64GB DDR4-3600EVGA GeForce 3080 FT3 Ultra
    Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Ryzen 9 5900x
    Motherboard
    Asus Rog Strix X570-E Gaming
    Memory
    64GB DDR4-3600
    Graphics card(s)
    EVGA GeForce 3080 FT3 Ultra
    Sound Card
    Onboard
    Monitor(s) Displays
    ASUS TUF Gaming VG27AQ. ASUS ProArt Display PA278QV 27” WQHD
    Screen Resolution
    2560x1440
    Hard Drives
    2TB WD SN850 PCI-E Gen 4 NVMe
    2TB Sandisk Ultra 2.5" SATA SSD
    PSU
    Seasonic Focus 850
    Case
    Fractal Meshify S2 in White
    Cooling
    Dark Rock Pro CPU cooler, 3 x 140mm case fans
    Keyboard
    Corsiar K65 RGB Lux
    Mouse
    Logitech G9 Laser Mouse
    Internet Speed
    500/50
    Browser
    Chrome
    Antivirus
    Defender.
Using latest VirtualBox, I can run Windows 11 23H2 on Ubuntu 24.04, with crisp performance.. (Xeon 14 core V4, 64gb ram, dedicated VM SSD).

I need Windows for remote access to Work, so I use bare metal instead, to ensure no issues with sound/Citrix.
 

My Computers My Computers

  • At a glance

    Fedora/KDE Plasma F43Xeon 2667 v448GB ECC DDR4nVidia GTX 1650
    OS
    Fedora/KDE Plasma F43
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Z640
    CPU
    Xeon 2667 v4
    Motherboard
    Xeon V4 Motherboard
    Memory
    48GB ECC DDR4
    Graphics Card(s)
    nVidia GTX 1650
    Monitor(s) Displays
    LG 27"
    Screen Resolution
    1920x1080@144hz
    Hard Drives
    NVME, SSD
    PSU
    850W
  • At a glance

    Windows 11 IOT Enterprise LTSC/RHEL 10.1 KDE ...Intel Xeom 2680 V464gb DDR4 ECCAMD RX560
    Operating System
    Windows 11 IOT Enterprise LTSC/RHEL 10.1 KDE Plasma
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Z440
    CPU
    Intel Xeom 2680 V4
    Motherboard
    HP Z440
    Memory
    64gb DDR4 ECC
    Graphics card(s)
    AMD RX560
    Monitor(s) Displays
    LG Gsync 27" 144hz
    Screen Resolution
    1920x1080@144hz
    Hard Drives
    SSD/nVme/HDD
    PSU
    standard 700W
    Case
    standard
    Cooling
    Standard
    Browser
    MS Edge
    Antivirus
    BitDefender
Not to sound too noobish on docker and containers. Can I get a really simple explnaton of what docker is, what a container is, and why they are different or better than just a VM running under Hyper-V? I have already decided to stay with Hypoer-V, even though VMWare is now free.
 

My Computer My Computer

At a glance

Windows 11 2H25AMD 9900X64 GBAMD 9070 XT
OS
Windows 11 2H25
Computer type
PC/Desktop
Manufacturer/Model
DIY
CPU
AMD 9900X
Motherboard
MSI X870E Carbon
Memory
64 GB
Graphics Card(s)
AMD 9070 XT
Sound Card
built-in
Monitor(s) Displays
Dell 24"
Hard Drives
Sabrent 1 TB NVMe, 4 x SSD (need to check models), 4 x 3.5" HDD, 8-16 TB, all WD
PSU
Seasonic 850
Case
Fractal Design North XL (which I likw)
Cooling
Corsair AIO for CPU, fans for case
Keyboard
Das Keyboard 4
Mouse
Corsair M65 (white)
Internet Speed
1 TB download
Browser
Firefox
Antivirus
Bitdefender
Other Info
Also have Lenovo T14S laptop (me) and Lenovo Slim 71 (wife)

Latest Support Threads

Back
Top Bottom