소스 검색

Fix for 6GB RAM issue on Windows #720

Mark Shust 2 년 전
부모
커밋
bcd88dcbdd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compose/bin/start

+ 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//)
 # 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
 function parseYaml {