2
0
Эх сурвалжийг харах

Fix for 6GB RAM issue on Windows #720

Mark Shust 2 жил өмнө
parent
commit
bcd88dcbdd

+ 1 - 1
compose/bin/start

@@ -3,7 +3,7 @@ set -o errexit
 
 
 MEM=$(docker info | grep "Total Memory" | cut -d':' -f2 | xargs | sed s/GiB//)
 MEM=$(docker info | grep "Total Memory" | cut -d':' -f2 | xargs | sed s/GiB//)
 # Docker reports RAM 0.2 less than what it is actually set to
 # Docker reports RAM 0.2 less than what it is actually set to
-(( $(echo "$MEM < 5.8" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
+(( $(echo "$MEM < 5.7" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
 
 
 # Ref: https://stackoverflow.com/a/51789677/9821321
 # Ref: https://stackoverflow.com/a/51789677/9821321
 function parseYaml {
 function parseYaml {