mirror of https://github.com/docker/docs.git
Make dockremap and testuser uid/gid match (#4667)
This example is leading to confusion when folks populate /etc/sub{g,u}id with dockremap:231072:65536 instead of testuser:231072:65536. Step 4 (verification) of "Enable userns-remap on the daemon" doesn't match if the dockremap uid/gid is used.
This commit is contained in:
parent
4aed3dfbba
commit
ee0881286b
|
@ -179,11 +179,11 @@ $ dockerd --userns-remap="testuser:testuser"
|
|||
```bash
|
||||
$ grep dockremap /etc/subuid
|
||||
|
||||
dockremap:296608:65536
|
||||
dockremap:231072:65536
|
||||
|
||||
$ grep dockremap /etc/subgid
|
||||
|
||||
dockremap:296608:65536
|
||||
dockremap:231072:65536
|
||||
```
|
||||
|
||||
If these entries are not present, edit the files as the `root` user and
|
||||
|
|
Loading…
Reference in New Issue