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


jimbo45

Well-known member
Pro User
VIP
Local time
7:14 PM
Posts
5,162
Location
Hafnarfjörður IS
OS
Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
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

System One

  • OS
    Windows XP,10,11 Linux (Fedora 42&43 pre-release,Arch Linux)
    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

System One

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

My Computer

System One

  • 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

System One System Two

  • 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.
  • 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

System One System Two

  • OS
    Linux Ubuntu 24.04.2 LTS
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Z640
    CPU
    Xeon 2680 v4
    Motherboard
    Xeon V4 Motherboard
    Memory
    64GB ECC DDR4
    Graphics Card(s)
    nVidia GTX 1650
    Monitor(s) Displays
    LG 27"
    Screen Resolution
    1920x1080@144hz
    Hard Drives
    NVME, SSD
    PSU
    850W
  • Operating System
    Windows 11 24H2/Fedora Linux 42
    Computer type
    PC/Desktop
    Manufacturer/Model
    DELL 5610
    CPU
    2x Xeon 2667 V2
    Motherboard
    DELL Precision 5610 Dual Xeon V2
    Memory
    128GB ECC
    Graphics card(s)
    nVidia nv 510 4x DP out
    Monitor(s) Displays
    LG Gsync 27" 144hz
    Screen Resolution
    1920x1080@144hz
    Hard Drives
    SSD, , 6x HDD
    PSU
    1300w
    Case
    Dell Precision 5610
    Cooling
    Standard
    Browser
    MS Edge
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

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    home built
    CPU
    AMD 7900x
    Motherboard
    ASUS AMD x670E ROG Strix E-A
    Memory
    64 GB
    Graphics Card(s)
    Nvidia 3060 Ti (but wanting to upgrade)
    Sound Card
    built-in
    Monitor(s) Displays
    Dell 24"
    Cooling
    AIO for CPU, fans for case
    Keyboard
    Das Keyboard 4
    Mouse
    Corsair M65 (white)
    Browser
    Firefox
    Antivirus
    Bitdefender
    Other Info
    Also have Lenovo T14S laptop (me) and Lenovo Slim 71 (wife)

Latest Support Threads

Back
Top Bottom