Docker: hostname and user
View options
- Truncate descriptions
Hey, there are two issues with the menshen container:
- my machine does not have hostname
- the group is still root (so menshen user has still root permission)
pea@peabox: sudo docker exec -it tests-menshen-1 bash
I have no name!@39e2dee4625c:/$ id
uid=1008 gid=0(root) groups=0(root)
I have no name!@39e2dee4625c:/$ hostname
39e2dee4625c
I have no name!@39e2dee4625c:/$
- Show labels
- Show closed items