You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ "$RAM_AVAILABLE_IN_DOCKER"-lt"$MIN_RAM_HARD" ]];then
31
41
echo"FAIL: Required minimum RAM available to Docker is $MIN_RAM_HARD MB, found $RAM_AVAILABLE_IN_DOCKER MB"
32
42
exit 1
@@ -35,9 +45,9 @@ fi
35
45
#SSE4.2 required by Clickhouse (https://clickhouse.yandex/docs/en/operations/requirements/)
36
46
# On KVM, cpuinfo could falsely not report SSE 4.2 support, so skip the check. https://github.com/ClickHouse/ClickHouse/issues/20#issuecomment-226849297
37
47
# This may also happen on other virtualization software such as on VMWare ESXi hosts.
if [[ !"$SKIP_SSE42_REQUIREMENTS"-eq 1 &&"$IS_KVM"-eq 0 &&"$DOCKER_ARCH"="x86_64" ]];then
40
-
SUPPORTS_SSE42=$(docker run --rm busybox grep -c sse4_2 /proc/cpuinfo || :)
50
+
SUPPORTS_SSE42=$($CONTAINER_ENGINE run --rm busybox grep -c sse4_2 /proc/cpuinfo || :)
41
51
if [[ "$SUPPORTS_SSE42"-eq 0 ]];then
42
52
echo"FAIL: The CPU your machine is running on does not support the SSE 4.2 instruction set, which is required for one of the services Sentry uses (Clickhouse). See https://github.com/getsentry/self-hosted/issues/340 for more info."
0 commit comments