-
Notifications
You must be signed in to change notification settings - Fork 381
Open
Labels
bugbuild backend - podmanFor all things related to Podman, https://podman.io/.For all things related to Podman, https://podman.io/.
Description
When working in support for Podman, I noticed that tests
tests/unit/test_editable.py::test_editabletests/unit/test_editable.py::test_editable_by_host
would fail.
The tests fails due
/usr/local/bin/change.sh: line 3: newfile: Permission denied
This is because Podman runs, by default, as rootless. When Podman and Docker run as rootless, we have
flowchart TB
subgraph container[rootless container]
container-root[root UID=0]
jovyan[jovyan UID=1000]
end
subgraph host
host-root[root UID=0]
alice[alice UID=1000]
bob[bob UID=1001]
repo2docker[repo2docker UID=101000]
end
alice-->container-root
repo2docker-->jovyan
A file that is owned by alice will not be accessible to jovyan.
The recommendation in this cases is to run Jupyter in the container as root but this should be done by the user.
How do others think that repo2docker should behave?
Metadata
Metadata
Assignees
Labels
bugbuild backend - podmanFor all things related to Podman, https://podman.io/.For all things related to Podman, https://podman.io/.