windows icon indicating copy to clipboard operation
windows copied to clipboard

How to increase memory RAM without reinstalling the docker

Open lmargit opened this issue 1 year ago • 3 comments

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

lmargit avatar Jun 14 '24 14:06 lmargit

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.

kroese avatar Oct 05 '24 11:10 kroese

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?

lmargit avatar Oct 12 '24 11:10 lmargit

@lmargit They will get added to the log output:

docker logs windows

kroese avatar Oct 12 '24 11:10 kroese

Closing because of no reponse.

kroese avatar Mar 01 '25 11:03 kroese