Closed mbrodala closed 2 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please update it if any action still required.
Seems to be fixed by now:
$ ls -ld ~
drwxr-xr-x 1 docker docker 4096 Jan 3 11:19 /home/docker
$ id
uid=1001(docker) gid=1000(docker) groups=1000(docker),27(sudo)
Expected Behavior
Commands can write to the home directory of
docker
(~
,/home/docker
), e.g.~/.cache
.Current Behavior
There are permission errors, .e.g in Yarn:
Possible Solution
Update the owner ID of
/home/docker
in the image entrypoint.Steps to Reproduce (for bugs)
1000
/home/docker
Context
I noticed this with a Yarn installation.
The owner of
/home/docker
is left at1000
:However, the ID of the
docker
user was updated to reflect my host user:Your Environment