This repository is for -base and -builder containers for building derivative containers (such as poky-container) for containerized Yocto Project builds.
I use following docker-compose.yml and it works fine on my debian12 system because by chance /home/mf/development folder in the host system owned by user mf and mf has UID:1000 which matches with yoctouser's UID in the container, therefore it has read/write access to the folder /home/yoctouser/development inside container.
But I have another system and my user name mfid with UID:1007 there. In this case, with the same docker compose file, I get Permission denied error inside container's development folder if I attempt to create a new file because yoctouser created in the container has UID:1000 which doesnt match with mfid's.
I use following docker-compose.yml and it works fine on my debian12 system because by chance
/home/mf/development
folder in the host system owned by usermf
andmf
hasUID:1000
which matches with yoctouser's UID in the container, therefore it has read/write access to the folder/home/yoctouser/development
inside container.But I have another system and my user name
mfid
withUID:1007
there. In this case, with the same docker compose file, I getPermission denied
error inside container's development folder if I attempt to create a new file becauseyoctouser
created in the container hasUID:1000
which doesnt match with mfid's.What is the suggested way to solve this problem?
Thank you.