Repository navigation
Conversation
isDockerContainer() only checked /.dockerenv and "docker" in /proc/self/cgroup. Podman creates neither (it creates /run/.containerenv), so under Podman server mode applied the Windows UNC-only rule and rejected every STL_HOME scan. Also check /run/.containerenv, and only print the "requires UNC paths" startup line when that rule applies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Landrash
force-pushed
the
fix/podman-container-detection
branch
from
October 17, 2026 14:10
ebf1546 to
3206e9d
Compare
Landrash
marked this pull request as ready for review
October 17, 2026 14:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
isDockerContainer()only checks/.dockerenvand "docker" in/proc/self/cgroup.Podman creates neither; it creates
/run/.containerenv. Under Podman, server mode therefore applies the Windows UNC-only rule and rejects everySTL_HOMEscan with "Server mode requires UNC paths".This adds the
/run/.containerenvcheck inmain.jsandscan-worker.js. The "requires UNC paths" startup line now only prints when that rule applies.Tested with the 3.0.0 image under rootless Podman, with the patched files bind-mounted over
/app: before, the scan fails with the UNC error; after, it indexes models.Current workaround for Podman users:
-v /dev/null:/.dockerenv:ro.Created with the help from [Claude Code]