Title: Feature: Document SELinux bind-mount note for local devcontainer usage · Issue #1879 · python/devguide · GitHub
Open Graph Title: Feature: Document SELinux bind-mount note for local devcontainer usage · Issue #1879 · python/devguide
X Title: Feature: Document SELinux bind-mount note for local devcontainer usage · Issue #1879 · python/devguide
Description: Describe the enhancement or feature you would like When using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with Permission denied inside the container. Example: docker run -it --rm \ -v "$PWD...
Open Graph Description: Describe the enhancement or feature you would like When using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with Permission denied inside the container....
X Description: Describe the enhancement or feature you would like When using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with Permission denied inside the container....
Opengraph URL: https://github.com/python/devguide/issues/1879
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature: Document SELinux bind-mount note for local devcontainer usage","articleBody":"### Describe the enhancement or feature you would like\n\nWhen using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with `Permission denied` inside the container.\n\nExample:\n\n```bash\ndocker run -it --rm \\\n -v \"$PWD:/workspace\" \\\n -w /workspace \\\n ghcr.io/python/devcontainer:latest\n```\nIn that case, a SELinux-compatible bind mount works:\n\n```bash\n docker run -it --rm \\\n -v \"$PWD:/workspace:Z\" \\\n -w /workspace \\\n ghcr.io/python/devcontainer:latest\n```\nWithout relabeling, /workspace may not be readable from inside the container.\n\nIt 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.\n\n### Describe alternatives you have considered\n\nAs an alternative workaround, this also works:\n```shell\ndocker run -it --rm \\\n --security-opt label=disable \\\n -v \"$PWD:/workspace\" \\\n -w /workspace \\\n ghcr.io/python/devcontainer:latest\n```\n\n### Additional context\n\n_No response_","author":{"url":"https://github.com/bowie2211","@type":"Person","name":"bowie2211"},"datePublished":"2026-08-13T13:17:17Z","url":"https://github.com/python/devguide/issues/1879"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea4b01dc-47fe-e004-6ec5-4ef4a40528a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E938:1D20B7:2E1B647:3A74D4D:6B01EF88 |
| html-safe-nonce | 6a60696ec9028a35e6bcdb01a1dd0ed9925402a58757637140bceb0565273d44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTM4OjFEMjBCNzoyRTFCNjQ3OjNBNzRENEQ6NkIwMUVGODgiLCJ2aXNpdG9yX2lkIjoiNDY4NTIzMTY2NTgwOTg0NjE1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30263dc8cf376a1a38237a3754d0deb65115813e6c84a849e43177c5acbfb79d |
| hovercard-subject-tag | issue:5141830075 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/devguide/1879/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84b732eb949b307878fed41c603244d022a7c6a6919e59c974e1019c8b30eeea/python/devguide/issues/1879 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84b732eb949b307878fed41c603244d022a7c6a6919e59c974e1019c8b30eeea/python/devguide/issues/1879 |
| og:image:alt | Describe the enhancement or feature you would like When using the CPython devcontainer image on SELinux-enabled Linux hosts, a plain bind mount may fail with Permission denied inside the container.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bowie2211 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/devguide git https://github.com/python/devguide.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 63972479 |
| octolytics-dimension-repository_nwo | python/devguide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63972479 |
| octolytics-dimension-repository_network_root_nwo | python/devguide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width