-
-
Notifications
You must be signed in to change notification settings - Fork 473
Open
Description
colima version 0.2.2
git commit: b2c7697bee2d73e995f156fe8e9870eb246c07e6
runtime: docker
client: v20.10.12
server: v20.10.7
uname -a
Darwin <REDACTED> 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64
When bind mounting a volume on the host, the filesystem is read only despite using docker functionality to allow for writing to the host
Steps to reproduce
Note that :Z
is added to the -v
parameter.
docker run -v "$(PWD):/output:Z" bash:latest touch /output/foo.txt
touch: cannot touch '/output/foo.txt': Read-only file system
I've also tried
4. docker run -v "$(PWD)/output:z" bash touch /output/foo.txt
4. docker run -v "$(PWD)/output:rw" bash touch /output/foo.txt
3. docker run --privileged -v "$(PWD):/output:Z" bash touch /output/foo.txt
4. docker run -v "$(PWD)/output:rw" --group-add=dialout bash touch /output/foo.txt
5. sudo docker run -v "$(PWD)/output:rw" --group-add=dialout bash touch /output/foo.txt
With the same error
Files appear to be owned by 502:dialout
docker run -v "$(PWD)/CAD:/output:rw" bash ls -al /output
total 260
-rw-r--r-- 1 502 dialout 50758 Jan 7 02:48 MPB2015 Feet v4.f3d
-rw-r--r-- 1 502 dialout 212684 Jan 7 02:42 MPB2015-Feet.stl
Is this a known limitation? A bug? Or a misconfiguration on my part? Any guidance appreciated.
berniedurfee-renaissance
Metadata
Metadata
Assignees
Labels
No labels