proxmox
Running Windows in a Docker Container!
Running Windows in a Docker Container!
#Running #Windows #Docker #Container
“Wolfgang’s Channel”
Huge thanks to Ridge for sponsoring the video! Use this link to get up to 30% off through April 1st:
dockur/windows by Kroese:
Follow me:
Mastodon
GitHub
Twitch…
source
To see the full content, share this page by clicking one of the buttons below |
Huge thanks to Ridge for sponsoring the video! Use this link to get up to 30% off through April 1st: https://ridge.com/wolfgang
dockur/windows by Kroese: https://github.com/dockur/windows
CORRECTION: This will not work on Mac, only on Linux.
Finally ! Microsoft office under Linux….
Tried to deploy this using a LXC, and it failed with the default method/process.
edit
I am in the process of getting this to work with LXC containers.
On the Proxmox host, in the shell/console, type in:
ls -l /dev/kvm
There should be two numbers like:
crw-rw—- 1 root crontab 10, 232 Mar 8 01:02 /dev/kvm
The "10, 232" is what you will need.
Edit your <<CTID>>.conf and add the lines:
lxc.cgroup.devices.allow: c 10:232 rwm
lxc.mount.entry: /dev/kvm dev/kvm none bind,optional,create=file
save the changes to the <<CTID>>.conf file, and then you can start the CT.
I deployed mine via Portainer.
My stack YAML file looks like this:
version: "3"
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "win11"
RAM_SIZE: "8G"
CPU_CORES: "4"
volumes:
– /var/win:/storage
devices:
– /dev/kvm
cap_add:
– NET_ADMIN
security_opt:
– seccomp:unconfined
– apparmor:unconfined
ports:
– 8006:8006
– 3389:3389/tcp
– 3389:3389/udp
stop_grace_period: 2m
restart: on-failure
It is currently downloading the Windows 11 install media, but at least it is able to get this far.
If you don't pass /dev/kvm from the Proxmox host to the LXC container, then this won't work. The stack will fail to deploy because /dev/kvm is absent (from the LXC container) initially.
How could it apply a firmware update for your system in a VM?
Finally someone show something Very important
I would be dead than use windows again ever in my life
If you see this: "docker: unknown server OS: . See 'docker run –help'." just use sudo in front of the command to launch
Error on loading /dev/kvm
Thanks for the video. Is it possible to change the hypervisor from KVM to VMware?
Very cool! Do you know if you can run a RPA that needs to "see" the window?
Like using, i dont know, tesseract, or Sikulix.
this very good,because you have to use IE some time,not to run virtual machine。
I have a amd gpu … Can it work on it?
Lets say if they can get windows working through distrobox and we can passthrough our gpu using –nvidia flag as we can now. wouldn't that be awesome
Cool video, but the optimal use would be to run Aple IOS in a docker.
Can we install windows on ubuntu
Google shell if you know…
I have the same motherboard, is there a reason you needed that BIOS utility?
it dosen't wok for me in Github Codespace
Will this work for legacy Windows versions
I'm interested in
Win XP
Win 98
Win 95 osr 2
because i have legacy programs that want those three versions.
Why is your terminal font comic sans?
Is this an efficient option to make a multi gamer on PC setup? Does gpu passthrough work?
Is this a project to put on my resume😂
I needed 1 year ago Windows for a game. But I didn‘t want to dualboot. So I setup a VM with libvirt and then did a single-gpu-passthrough. I needed a bit to get it working, because I had a Problem, that was really rare, there was only one open thread that you could find and that was on a Proxmox forum. Without the help of a other person, that found that, I might never get it to work. But with the time I didn‘t used the VM anymore and because I really often switch my Linux Distro, I started to not set it up again and nowadays I don’t have a use case for any VM‘s
If you want a browser that has no tracking. Only surf from a reset vm each time. Use a proxi out…
Woah! This couldn't have come at a better time! I was just looking for a solution to run a DayZ server, a Windows only application, without needing to leave one of our gaming PCs on all the time.
Now I just need more RAM before I can setup a VM on my Ubuntu server.
Would for older Windows versions too?
What a juicy content, thank you sir I was in need of it
Nice!
I was searching for a way to run a Windows Server in a docker container in a similar way. Yet, i do not need the GUI, except for installing a stupid application programmed with .NET 4.8. After installing, it runs as a windows service which provides a webserver.
Only for installing and updating, an install GUI is needed.. I have not found a way to silently install.
Do you think this is possible in a docker container?
Dan
i run allods online server…
Does USB passthrough have any support?
Why? lol
Or…. Quickemu…..
I am in uni running fedora, the major problem I have is having to open presentations in libreoffice impress which is so shit. This will makes things so much easier!!! Thank you!!
Also, does anyone have any other suggestions about how to make the above problem less painful apart from running windows in a browser?
This is awesome! Vt-d is not relevant though. Will have to modify it to try 11arm on apple silicon
this just saved me hours of work, thanks
noob question: does a straightforward version like this exist also for ubuntu?
👍
This would be incredibly awesome for testing and/or JPackage. I think I know what i'm doing this weekend 🙂