Description
When only USER is set in the Dockerfile, containerd also sets the values of gid and group.
relate issue: https://github.com/bitnami/bitnami-docker-redis/issues/100
Steps to reproduce the issue:
- Run docker.io/bitnami/redis:4.0.10-debian-9 use containerd
- Get uid and gid permissions in the container
Describe the results you received:
I have no name!@redis-master-0:/$ id
uid=1001 gid=1001 groups=1001
Describe the results you expected:
I have no name!@redis-master-0:/$ id
uid=1001 gid=0(root) groups=0(root)
Output of containerd --version:
containerd github.com/containerd/containerd v1.1.2 468a545b9edcd5932818eb9de8e72413e616e86e
Description
When only USER is set in the Dockerfile, containerd also sets the values of gid and group.
relate issue: https://github.com/bitnami/bitnami-docker-redis/issues/100
Steps to reproduce the issue:
Describe the results you received:
I have no name!@redis-master-0:/$ id uid=1001 gid=1001 groups=1001Describe the results you expected:
I have no name!@redis-master-0:/$ id uid=1001 gid=0(root) groups=0(root)Output of
containerd --version: