mirror of
https://github.com/containers/podman.git
synced 2025-10-14 09:45:59 +08:00
troubleshooting.md: add note about updating subuid/subgid
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@ -247,6 +247,11 @@ would potentially allow one user to attack another user.
|
||||
|
||||
You could also use the usermod program to assign UIDs to a user.
|
||||
|
||||
If you update either the /etc/subuid or /etc/subgid file, you need to
|
||||
stop all running containers and kill the pause process. This is done
|
||||
automatically by the `system migrate` command, which can also be used
|
||||
to stop all the containers and kill the pause process.
|
||||
|
||||
```
|
||||
usermod --add-subuids 200000-201000 --add-subgids 200000-201000 johndoe
|
||||
grep johndoe /etc/subuid /etc/subgid
|
||||
|
Reference in New Issue
Block a user