You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Jason Fehr (Jira)" <ji...@apache.org> on 2025/08/27 22:03:00 UTC
[jira] [Created] (IMPALA-14362) System Bootstrap Script Does Not Reliably Detect If In Docker
Jason Fehr created IMPALA-14362:
-----------------------------------
Summary: System Bootstrap Script Does Not Reliably Detect If In Docker
Key: IMPALA-14362
URL: https://issues.apache.org/jira/browse/IMPALA-14362
Project: IMPALA
Issue Type: Bug
Reporter: Jason Fehr
Assignee: Jason Fehr
The [bootstrap_system.sh script|https://github.com/apache/impala/blob/669d74f467193b575ec203ce45c5b3c02141a257/bin/bootstrap_system.sh#L131-L134] correctly detects if running in docker when using cgroups v1. However, when using cgroups v2, the detection method no longer works. The contents of the /proc/1/cgroups file is "0::/".
See [this discussion|https://forums.docker.com/t/detect-you-are-running-in-a-docker-container-buildx/139673] for alternate ways to detect if running in a container.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org