mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-03-19 16:21:34 +01:00
Alternative, calc at runtime?
Perhaps
```
-e RAM=auto \
```
```
RAM=${RAM:-$(("$(head -n1 /proc/meminfo | tr -dc '[:digit:]') / 900000"))}000 \
exec qemu-system-x86_64 -m ${RAM} \
```
14 KiB
14 KiB