FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: document SELinux bind-mount requirement for devcontainer (#1879) by pranavchoudhary-tech · Pull Request #1880 · python/devguide · GitHub

Repository navigation

docs: document SELinux bind-mount requirement for devcontainer (#1879) - #1880

Open
pranavchoudhary-tech wants to merge 1 commit into
python:mainfrom
pranavchoudhary-tech:docs-selinux-devcontainer-1879
Open

pranavchoudhary-tech wants to merge 1 commit into
python:mainfrom
pranavchoudhary-tech:docs-selinux-devcontainer-1879

Conversation

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).

Copy link
Copy Markdown

Documentation build overview

📚 CPython devguide | 🛠️ Build #34065115 | 📁 Comparing e5731e4 against latest (4bcdd6b)

  🔍 Preview build  

2 files changed
± versions/index.html
± getting-started/setup-building/index.html

Copy link
Copy Markdown
Contributor Author

Ready for review @zware, @alex

.. 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``)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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``)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants


Back | FazBrowse Home | New Git URL