File permissions not handled, always root:root in container - MacOs Sonoma 14.5 - VirtuoFS & VZ #7924
Labels
area/volume
Access to host volumes from inside the VM or containers
kind/bug
Something isn't working
platform/macos
Actual Behavior
In a local setup to run a Drupal 10 web project using PHP 8.2 as a base image, a dockerfile, docker-compose.yml, .env file ans shell scripts to install the project, the file system is never writable and always owned by root:root. Project fails to build and runs on one wheel without proper files and directory permissions.
All other file system and virtualization options were teste and failed. The VirtuoFS & VZ and kind of work with this massive limitation.
Similar to #1979
Compare file permissions in local image and on remote kubernetes
Read a ton of docs and issues.
What am my missing?
Steps to Reproduce
Here are my options below
Result
Expected Behavior
Same ability to interact with the filesystem as I had with this recipe in Docker Desktop.
Additional Information
Dockerfile (trimmed)
docker-compose.yml (trimmed)
Focus on the ENTRYPOINT in Dockerfile and web service volumes in docker-compose.yml
The local filesystem is completed mounted 1 to 1 in OS, filtered through a .dockerignore file
Deploy shell script exerpt and log
Log exerpt
Rancher Desktop Version
1.16.0
Rancher Desktop K8s Version
1.30.6
Which container engine are you using?
moby (docker cli)
What operating system are you using?
macOS
Operating System / Build Version
MacOs Sonoma 14.5
What CPU architecture are you using?
arm64 (Apple Silicon)
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
No response
The text was updated successfully, but these errors were encountered: