Hello everybody. I’m trying to become root inside a container and all I can find on the internet and this forum is about how to become non-root.
I asked to a friend about this and he sent me this log of his commands:
$ docker run -t -i geodata/gdal /bin/bash root@28d68e2d247c:/data# id uid=0(root) gid=0(root) groups=0(root)
I try the very same command and I get this instead:
$ docker run -t -i geodata/gdal /bin/bash nobody@59633bc7cb93:/data$ id uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Could anybody point me what I’m doing wrong or what should I look in my system?
Thanks in advance.