You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we run the container in Docker we need to supply a uid so that files created inside the container don't end up being owned by root outside the container.
docker run \
--user 1000 \
....
This means the shell inside the container is run with uid 1000, but there is no matching entry in the user or group database, so the shell prints a warning about the group and sets the user name to I have no name!.
groups: cannot find name for group ID 1000
I have no name!
There is nothing wrong with running a process using a uid and gid with no description, they are just numbers, but it would be good to avoid the warning and set the user name to something sensible.
The text was updated successfully, but these errors were encountered:
When we run the container in Docker we need to supply a
uid
so that files created inside the container don't end up being owned byroot
outside the container.This means the shell inside the container is run with
uid 1000
, but there is no matching entry in the user or group database, so the shell prints a warning about the group and sets the user name toI have no name!
.There is nothing wrong with running a process using a
uid
andgid
with no description, they are just numbers, but it would be good to avoid the warning and set the user name to something sensible.The text was updated successfully, but these errors were encountered: