Skip to content
Snippets Groups Projects
Open Docker: hostname and user
  • View options
  • Docker: hostname and user

  • View options
  • Open Issue created by Pea Nut

    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:/$ 
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading