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:
James Mills 2017-09-19 13:33:08 -05:00 committed by Misty Stanley-Jones
parent 4aed3dfbba
commit ee0881286b
1 changed files with 2 additions and 2 deletions

View File

@ -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