Open zagrad opened 1 year ago
The same problem here
The problem is with docker desktop When start, docker desktop copy ids from /etc/subuid and /etc/subgid
I fixed with creating the group and add my user on the group https://github.com/docker/desktop-linux/issues/31#issuecomment-1161606016
Codebase Drupal 9 with various Wodby images.
Describe your issue I do use this code base daily on a Windows (WSL) environment. Collegaes use the same environment on Macs as well (using the MacOS images instead). On my Ubuntu machine I have used this code base in the past without problems, but as of some time (maybe after a Docker or Docker Desktop update?) it doesn't work anymore.
The problem occurs with the mounts we need for the PHP container:
The volume
.:/var/www/html
specifically causes the project root to become chowned by user 100999:100999. The image I specifiy from the .env file should be using user 1000:1000I've checked the user I run the
docker compose up
command from and it's 1000:1000:After Googling hours and hours I still have no clue how to fix this.
Output of
docker info
Contents of your
docker-compose.yml
Contents of your
.env
Logs output
docker-compose logs