Closed oren1024 closed 3 days ago
I have the same error message "❯ ERROR: Your configured RAM_SIZE of 1 GB is too high for the 1 GB of memory available, please set a lower value." although the docker host has 4GB Ram of which 1.2GB is shown as free plus 1GB unused swap file.
You can add -e RAM_CHECK=N
to force the script to continue even with low RAM.
Operating system
Ubuntu 22.04.4 LTS
Description
Hi all, im trying to setup a virtual DSM container and i cannot give it 1GB of ram. the Ubuntu VM has 2GB of ram and about 300MB is use, the file "/etc/docker/daemon.json" doesn't exist so if im correct there's no hard limit the error im seeing: ❯ Starting Virtual DSM for Docker v7.15... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Xeon E 2236 CPU | RAM: 1/2 GB | DISK: 886 GB (ext4) | HOST: 5.15.0-71... ❯ ERROR: Your configured RAM_SIZE of 1 GB is too high for the 1 GB of memory available, please set a lower value.
Thank you
Docker compose
docker run -d --name testdsm1 -p 5000:5000 -p 873:873 -p 5001:5001 -p 139:139 -p 445:445 -p 137:137 -p 138:138 -p 111:111 -p 892:892 -p 2049:2049 --cap-add=NET_ADMIN --device /dev/kvm -e DISK_SIZE=100G -e RAM_SIZE=1024MB -e KVM=Y -e DSM_USER=admin -e DSM_PASSWORD=password vdsm/virtual-dsm
Docker log
❯ Starting Virtual DSM for Docker v7.15... ❯ For support visit https://github.com/vdsm/virtual-dsm ❯ CPU: Intel Xeon E 2236 CPU | RAM: 1/2 GB | DISK: 975 GB (ext4) | HOST: 5.15.0-71... ❯ ERROR: Your configured RAM_SIZE of 1 GB is too high for the 1 GB of memory available, please set a lower value.
Screenshots (optional)
No response