Skip to content

[Bug Report] isaaclab.sh incorrectly detects if script is run inside docker container or not #4181

Closed

Description

@klakhi

If you are submitting a bug report, please fill in the following details and use the tag [bug].

Describe the bug

isaaclab.sh incorrectly detects if script is run inside docker container or not

Steps to reproduce

Observation:
Upon running ./isaaclab.sh --install it incorrectly detects that script is being run inside docker even when it is not.
This is happening because there is a code section which checks if script is run inside docker or not ( inside isaaclab.sh )

check if running in docker

is_docker() {
[ -f /.dockerenv ] ||
grep -q docker /proc/1/cgroup ||
[[ $(cat /proc/1/comm) == "containerd-shim" ]] ||
grep -q docker /proc/mounts ||
[[ "$(hostname)" == "." ]]
}
Root cause
The heuristic grep -q docker /proc/mounts returns true on hosts with Docker installed because the host’s own mount table includes Docker-managed mount points (overlay layers and network namespaces) even when the current process is not running in a container.
The function treats any such occurrence as “inside docker” which is incorrect.
Additionally, the dotted‑hostname clause [[ "$(hostname)" == "." ]] is overly broad and can misclassify hosts with FQDNs.
For more information on this, check: https://www.markdownguide.org/extended-syntax/#fenced-code-blocks

-->

System Info

Describe the characteristic of your environment:

Machine: x86_64
OS: Ubuntu 22.04
Driver details: 580.95.05
GPU type: GPU 0: NVIDIA RTX PRO 6000 Blackwell Workstation Edition
Isaac Lab: Branch: dev/newton, Commit Id: 6b7afee

Additional context

Add any other context about the problem here.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • Criteria 1
  • Criteria 2

Activity

  1. self-assigned this
    on Dec 10, 2025
  2. added
    bug
    on Dec 10, 2025
  3. added theissue type on Dec 10, 2025
  4. added a commit that references this issue on Dec 11, 2025
    6dd4afc
  5. added a commit that references this issue on Dec 11, 2025
    69b30bf
  6. added a commit that references this issue on Dec 29, 2025
    a6d2521
  7. added a commit that references this issue on Jan 14, 2026
    2784e42
  8. added a commit that references this issue on Feb 5, 2026
    0a488a5
  9. added a commit that references this issue on Jul 8, 2026
    8df85f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions