Created
June 18, 2014 16:50
-
-
Save mrunalp/f9fec89b4ff29097d3b5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@localhost ~]# docker run -it --rm busybox /bin/sh | |
/ # command -v groupadd | |
/ # echo $? | |
127 | |
/ # addgroup -g 1003 container | |
/ # echo $? | |
0 | |
/ # adduser -u 1003 -g 1003 container | |
adduser: uid '1003' in use | |
/ # echo $? | |
1 | |
/ # addgroup -g 1004 container | |
addgroup: group 'container' in use | |
/ # addgroup -g 1004 ctr | |
/ # adduser -u 1004 ctr | |
adduser: uid '1004' in use | |
/ # addgroup -g 1005 ctr2 | |
/ # adduser -u 1005 ctr2 | |
adduser: uid '1005' in use | |
/ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment