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

Can't reduce the RAM_SIZE and DISK_SIZE with docker -e #839

Open
liangzelong opened this issue Nov 9, 2024 · 0 comments
Open

Can't reduce the RAM_SIZE and DISK_SIZE with docker -e #839

liangzelong opened this issue Nov 9, 2024 · 0 comments

Comments

@liangzelong
Copy link

Operating system

raspberry

Description

Thank you for your great work! I have tested this project on edge devices like Raspberry and Android cell phone these days. The thing I know is I can install docker on these devices. The thing I don't know is if this image can run successfully on these devices.

I tested my Raspberry 3B+ which has only 1G RAM. -e RAM_SIZE="0.5G" and -e RAM_SIZE="500M" don't work. It also said that I have 0GB of memory.
Does the RAM size must be higher than 1G? Can I use swap instead?

Docker compose

docker pull ghcr.io/vdsm/virtual-dsm:7.20

Docker log

sudo docker run -it --rm -p 5000:5000 --device=/dev/kvm -e DISK_SIZE="128G" -e RAM_SIZE="400M" --cap-add NET_ADMIN --stop-timeout 120 ghcr.io/vdsm/virtual-dsm:7.20
❯ Starting Virtual DSM for Docker v7.20...
❯ For support visit https://github.com/vdsm/virtual-dsm
❯ CPU: Cortex A53 | RAM: 0/1 GB | DISK: 50 GB (ext4) | HOST: 6.6.51+rpt-rpi-v8...

❯ ERROR: Your configured RAM_SIZE of 1 GB is too high for the 0 GB of memory available, please set a lower value.

Screenshots (optional)

No response

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

1 participant