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


jimbo45

Well-known member
Pro User
VIP
Local time
4:14 AM
Posts
4,948
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux 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,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
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
    Windows 11
Better use Hyper-V virtualisation.
 

My Computer

System One

  • OS
    Manjaro Linux with GNOME desktop environment, Windows 11 Pro with Debian Linux in WSL 2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build to Order machine
    CPU
    Intel Core i7-4790 (Haswell Refresh)
    Motherboard
    MSI Z97 Gaming 7
    Memory
    32 GB
    Graphics Card(s)
    GIGABYTE NVIDIA GeForce RTX 2060 GAMING OC PRO 6G
    Monitor(s) Displays
    LG 27GN650-B IPS HDR Gaming Monitor 27" FHD
    Screen Resolution
    1080p
    Hard Drives
    2 x Samsung 860 EVO SATA SSD 1TB
    1 x Samsung 870 EVO SATA SSD 2TB
    PSU
    Corsair 1000 Watt
    Case
    Corsair Obsidian Series 750D full tower ATX case
    Cooling
    CORSAIR Hydro Series H80i v2
    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
    Mouse
    Logitech G9 Laser Mouse
    Keyboard
    Corsiar K65 RGB Lux
    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.1
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 5810
    CPU
    Xeon 2680 v4
    Motherboard
    Xeon V4 Motherboard
    Memory
    64GB ECC DDR4
    Graphics Card(s)
    nVidia GTX 1650
    PSU
    850W
  • Operating System
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Z640
    CPU
    Xeon 2667 V4
    Motherboard
    HP Z640 V3/V4
    Memory
    32GB ECC
    Graphics card(s)
    nVidia Quadro M4000
    Monitor(s) Displays
    LG Gsync 27" 144hz
    Screen Resolution
    1920x1080 144hz
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