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
I have tried with the latest version of Docker Desktop
I have tried disabling enabled experimental features
I have uploaded Diagnostics
Diagnostics ID:
For two years, a project I've been working on has worked fine with the given setup below. However, yesterday morning it suddenly stopped working as expected, without having updated any Docker packages recently, and within the same running session from the week prior, where I could change and restart the project without issue.
The intent of the project is currently geared toward providing a development workspace.
I am running a PHP project with the tool Composer as part of the toolchain. The requirements:
The host must be able to run the project without elevated permissions.
The guest must be able to make changes to the files within the project, with the same permissions.
The host must be able to read the files generated by the guest.
Miscellaneous commands must be able to be run inside the guest.
Expected behavior
Running the project mounts the volume in such a way that the host can write to the working directory.
Actual behavior
Running the project mounts the volume in such a way that the files in the working directory are owned by root:root
Information
Linux distro: LMDE 5 (elsie)
Distro version: 5.10.0-23-amd64
Docker Desktop Version: 23.0.6, build ef23cbc
Steps to reproduce the behavior
Get your current UID and GID:
$ id -u; id -g
1001
1001
In a non-elevated userspace directory, set up the below project structure:
For two years, a project I've been working on has worked fine with the given setup below. However, yesterday morning it suddenly stopped working as expected, without having updated any Docker packages recently, and within the same running session from the week prior, where I could change and restart the project without issue.
The intent of the project is currently geared toward providing a development workspace.
I am running a PHP project with the tool Composer as part of the toolchain. The requirements:
Expected behavior
Running the project mounts the volume in such a way that the host can write to the working directory.
Actual behavior
Running the project mounts the volume in such a way that the files in the working directory are owned by
root:root
Information
Steps to reproduce the behavior
$ id -u; id -g 1001 1001
.env
docker-compose.yml
.docker/php/dockerfile
docker compose up
docker exec -it my_php /bin/sh
ls -la
whoami; id -g
The text was updated successfully, but these errors were encountered: