Skip to content

Update doc for Docker in the rootless mode#684

Merged
m-reuter merged 2 commits into
Deep-MI:devfrom
plu-project:rootless_docker
Mar 24, 2025
Merged

Update doc for Docker in the rootless mode#684
m-reuter merged 2 commits into
Deep-MI:devfrom
plu-project:rootless_docker

Conversation

@plu-project
Copy link
Copy Markdown
Contributor

This pull request adds solution for users using Docker in the rootless mode. For users using Docker in the rootless mode, the existing Docker installation and the example command prevents FastSurfer from running.

Original Problems:

  1. There is an additional need to install the NVIDIA container toolkit and configure it for Docker in the rootless mode. Otherwise, this error message raises: "docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]".
  2. In the example command, the --user flag mapping with the group- and user-id leads to the user in the container as "I have no name!" and therefore the user in the container does not have the write-access to the mounted output directory, even though the output directory in the host system has given permission to everyone.

To be noted:
The "--user 0" in the example command in the pull request is needed for Docker in the rootless mode. Without this, Docker complains "Error response from daemon:unable to find user nonroot".

Copy link
Copy Markdown
Member

@dkuegler dkuegler left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!

Comment thread doc/overview/EXAMPLES.md Outdated
Update the documentation for `--user` in rootless mode.
@m-reuter m-reuter merged commit 9ddfcc3 into Deep-MI:dev Mar 24, 2025
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.

3 participants