Skip to content

Commit

Permalink
troubleshooting.md: add note about updating subuid/subgid
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed May 17, 2019
1 parent 9dabb16 commit 53a7622
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53a7622

Please sign in to comment.