Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to increase memory RAM without reinstalling the docker #607

Open
lmargit opened this issue Jun 14, 2024 · 3 comments
Open

How to increase memory RAM without reinstalling the docker #607

lmargit opened this issue Jun 14, 2024 · 3 comments

Comments

@lmargit
Copy link

lmargit commented Jun 14, 2024

Operating system

Ubuntu 24.04

Description

The windows 11 docker is working and functional (Ubuntu 24.04).
I installed it originally with RAM_SIZE = "16GB"
Now I want to expand the RAM memory to 24GB.
I edited the compose changing the RAM to 24GB. I restarted the windows session, no change.
I restarted the computer, and it did not change either. Windows is still showing 16GB

Docker compose

services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "win11"
DISK_SIZE: "256G"
RAM_SIZE: "24G"
CPU_CORES: "6"
devices:
- /dev/kvm
cap_add:
- NET_ADMIN
volumes:
- /var/win:/storage
ports:
- 8006:8006
- 3389:3389/tcp
- 3389:3389/udp
stop_grace_period: 2m
restart: always

Docker log

I do not how to extract/find the log file from a docker

Screenshots (optional)

Screenshot from 2024-06-14 10-20-58

@kroese
Copy link
Contributor

kroese commented Oct 5, 2024

This is a strange problem. The changes should be applied immediately.

If you set DEBUG: "Y" you should be able to see the parameters that get send to QEMU. Would be interesting to see if it says 16 or 24 GB.

@lmargit
Copy link
Author

lmargit commented Oct 12, 2024

Hi kroese, thanks for teh replay.
I will add the line DEBUG: "Y" to the yml file
Quick question, after adding the line. How can I see parameters sent to QEMU?

@kroese
Copy link
Contributor

kroese commented Oct 12, 2024

@lmargit They will get added to the log output:

docker logs windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants