GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: document SELinux bind-mount requirement for devcontainer (#1879) by pranavchoudhary-tech · Pull Request #1880 · python/devguide

Conversation

@pranavchoudhary-tech

@pranavchoudhary-tech pranavchoudhary-tech commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #1879

This PR adds a note under the Dev container Docker instructions in getting-started/setup-building.rst documenting the SELinux :z / :Z volume mount flag requirement (or --security-opt label=disable) for Docker users on SELinux-enabled Linux distributions (such as Fedora or RHEL).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@read-the-docs-community

read-the-docs-community Bot commented Aug 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Documentation build overview

📚 CPython devguide | 🛠️ Build #35320001 | 📁 Comparing 45627d2 against latest (4bcdd6b)

  🔍 Preview build  

38 files changed · + 1 added · ± 37 modified

+ Added

  • development-tools/sanitizers/index.html

± Modified

  • index.html
  • _static/psrt-coordinator-triage.html
  • clang/index.html
  • development-tools/index.html
  • documentation/index.html
  • genindex/index.html
  • getting-started/index.html
  • triage/index.html
  • versions/index.html
  • advanced-tools/clang/index.html
  • and 27 more...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@pranavchoudhary-tech

pranavchoudhary-tech commented Oct 4, 2026

Copy link
Copy Markdown
Contributor Author

Ready for review @zware, @alex

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hugovk
hugovk reviewed Oct 5, 2026
View reviewed changes
Comment thread getting-started/setup-building.rst Outdated
.. note::

On SELinux-enabled Linux distributions (such as Fedora or RHEL), Docker requires
the ``:z`` or ``:Z`` flag on the volume mount (e.g. ``$PWD:/workspace:Z``)

@hugovk hugovk Oct 5, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we need this change, but in case we do:

https://devguide.python.org/documentation/style-guide/#use-simple-language

Suggested change
the ``:z`` or ``:Z`` flag on the volume mount (e.g. ``$PWD:/workspace:Z``)
the ``:z`` or ``:Z`` flag on the volume mount (for example, ``$PWD:/workspace:Z``)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@pranavchoudhary-tech pranavchoudhary-tech Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated to 'for example'. Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@pranavchoudhary-tech
docs: document SELinux bind-mount requirement for devcontainer (pytho…
45627d2
…n#1879)
@pranavchoudhary-tech
pranavchoudhary-tech force-pushed the docs-selinux-devcontainer-1879 branch from e5731e4 to 45627d2 Compare October 22, 2026 08:45
@pranavchoudhary-tech pranavchoudhary-tech mentioned this pull request Oct 22, 2026
Feature: Document SELinux bind-mount note for local devcontainer usage #1879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature: Document SELinux bind-mount note for local devcontainer usage

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@pranavchoudhary-tech @hugovk
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.
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.