Comments (3)
In the QEMU config I added the "balloon" PCI device, and the VirtIO balloon drivers should be automaticly installed during Windows installation, but maybe I forgot some step or setting to make it work (never really tested it).
Do you see the balloon device in device manager?
from windows.
The VirtIO Balloon driver is there, so I'm not sure what the issue is. I was hoping that running Windows in docker would be lighter as opposed to VM.
from windows.
I did a quick investigation, and it seems like QEMU does not support automatic/dynamic ballooning by default.
There are some projects like Proxmox and Libvirt that are build on top of QEMU, and they add this logic themselves by sending balloon commands via QEMU monitor, to implement that feature.
But even if I was willing to implement the same algorithms as they do, I still doubt if it could even work. Because from inside a Docker container there is only limited information available about the memory of the host, so maybe it is not even possible to calculate things like memory pressure in the same way as these other projects can.
So I am afraid there is no easy way to fix this, unless someone with more QEMU knowledge than us decides to help us.
from windows.
Related Issues (20)
- [Question]: Mounting WinPE ISO and Working on Installed OS Drive HOT 5
- [Question]: Multiple network interfaces HOT 1
- [Question]: Running a service and accessing from outside HOT 1
- [Question]: noVNC view only mode? HOT 1
- Can this container boot Windows 11 (with virtio drivers installed) installed on a physical disk (e.g. /dev/mmcblk1)? HOT 7
- [Bug]: Typo in README.md on line 159 (/storage/shared) HOT 2
- [Feature]: Add a way to bypass RAM check for systems with ZFS HOT 7
- [Question]: Any Tutorials for installing this on Truenas via Docker/ Kubernetes? HOT 5
- [Question]: ERROR: You are using Docker Desktop for Windows which does not support macvlan, please revert to bridge networking! HOT 16
- docker: invalid reference format. HOT 2
- [Feature]: Separated/Dedicated interfaces for VNC & VM HOT 6
- ERROR: Timeout while waiting for QEMU to boot the machine! HOT 16
- How can I run multiple containers at the same time HOT 6
- [Question]: I have two questions..!! HOT 8
- [Question]: commiting changes HOT 2
- Forcefully terminating Windows, reason: 0.. HOT 5
- [Question]: Is it possible to boot pre nt windows HOT 4
- [Issue]: Can't login into windows HOT 10
- RDP port already in use HOT 2
- [Question]: Truenas Network support/ limitations HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows.