From 41a2f2d0a05f9808dfd78eb589ca4e7e93a4169b Mon Sep 17 00:00:00 2001 From: RattatAndyGo Date: Mon, 1 Sep 2025 14:23:04 +0200 Subject: [PATCH] added extra instructions to namespace remapping --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b49dc9c..7ca025d 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,7 @@ Assuming systemd and access to the `id` command the following steps should suffi echo "$( whoami ):$(id -u):65536" | sudo tee -a /etc/subuid echo "$( whoami ):$(id -g):65536" | sudo tee -a /etc/subgid ``` + There might already be a mapping for your user, which needs to be deleted in order to enable the new mapping. Previously pulled Docker images will become inaccessible for your user, so delete these to save disk space before updating the mapping. > [!NOTE] > Using the above user maps mean that the user `0` (root) inside the container are mapped to your user id on the host, *the id for every user above that is mapped to your-id + their-id*. This means that any containers which run non-root processes could appear to be running as real users on your system. This is unlikely to cause problems unless you have an unusual user configuration.