There was an error while loading. Please reload this page.
1 parent 4bcdd6b commit e5731e4Copy full SHA for e5731e4
1 file changed
getting-started/setup-building.rst
@@ -1287,6 +1287,14 @@ in a clone of the CPython repository.
1287
docker run -it --rm --volume $PWD:/workspace --workdir /workspace ghcr.io/python/devcontainer:latest
1288
1289
1290
+.. note::
1291
+
1292
+ On SELinux-enabled Linux distributions (such as Fedora or RHEL), Docker requires
1293
+ the ``:z`` or ``:Z`` flag on the volume mount (e.g. ``$PWD:/workspace:Z``)
1294
+ or passing ``--security-opt label=disable`` to avoid permission errors inside
1295
+ the container.
1296
1297
1298
Note that the container has read/write access to the working directory.
1299
You may want to use a separate clone of CPython, or run ``make clean``
1300
to remove caches and build output generated for your host OS.
0 commit comments