GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Feature: Document SELinux bind-mount note for local devcontainer usage · Issue #1879 · python/devguide Open Labels type-featureAdditions; New content or section neededAdditions; New content or section needed DescriptionDescribe the enhancement or feature you would likeWhen using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with Example: docker run -it --rm \
-v "$PWD:/workspace" \
-w /workspace \
ghcr.io/python/devcontainer:latestIn that case, a SELinux-compatible bind mount works: docker run -it --rm \
-v "$PWD:/workspace:Z" \
-w /workspace \
ghcr.io/python/devcontainer:latestWithout relabeling, /workspace may not be readable from inside the container. It may be helpful to add a short note to the local Docker/devcontainer documentation for SELinux-enabled hosts, preferably using the :Z bind-mount form. Describe alternatives you have consideredAs an alternative workaround, this also works: docker run -it --rm \
--security-opt label=disable \
-v "$PWD:/workspace" \
-w /workspace \
ghcr.io/python/devcontainer:latestAdditional contextNo response Activity
MetadataMetadataAssigneesLabelstype-featureAdditions; New content or section neededAdditions; New content or section needed ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |