-
Notifications
You must be signed in to change notification settings - Fork 134
Closed
Description
- I have tried with the latest version of Docker Desktop
- I have tried disabling enabled experimental features
- I have uploaded Diagnostics
- Diagnostics ID:
Expected behavior
This command should work:
$ docker run -it -v /var/lib/docker/containers:/blahblah ubuntu echo hello
Actual behavior
$ docker run -it -v /var/lib/docker/containers:/blahblah ubuntu echo hello
docker: Error response from daemon: error while creating mount source path '/host_mnt/private/var/lib/docker/containers': mkdir /host_mnt/private/var/lib/docker: operation not permitted.
Information
After upgrading to Docker Desktop 4.11.0, I am unable to run containers that require Docker's socket or system folders. It worked with 4.9.1.
Downgrading Docker Desktop to 4.10.1 (downloaded from the Release Notes page) does help:
$ docker run -it -v /var/lib/docker/containers:/blahblah ubuntu echo hello
hello
This is needed to run such things as e.g. DataDog Agent, which monitors the containers' logs and metrics (DataDog Agent is now unable to start because of this).
- macOS Version: 12.5
- Intel chip or Apple chip: Intel
- Docker Desktop Version: 4.11.0
Output of /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
$ /Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Starting diagnostics
[PASS] DD0027: is there available disk space on the host?
[PASS] DD0028: is there available VM disk space?
[PASS] DD0031: does the Docker API work?
[PASS] DD0004: is the Docker engine running?
[PASS] DD0011: are the LinuxKit services running?
[PASS] DD0016: is the LinuxKit VM running?
[PASS] DD0001: is the application running?
[PASS] DD0018: does the host support virtualization?
[PASS] DD0017: can a VM be started?
[PASS] DD0015: are the binary symlinks installed?
[PASS] DD0003: is the Docker CLI working?
[PASS] DD0013: is the $PATH ok?
[PASS] DD0007: is the backend responding?
[PASS] DD0014: are the backend processes running?
[PASS] DD0008: is the native API responding?
[PASS] DD0009: is the vpnkit API responding?
[PASS] DD0010: is the Docker API proxy responding?
[PASS] DD0012: is the VM networking working?
[PASS] DD0032: do Docker networks overlap with host IPs?
[SKIP] DD0030: is the image access management authorized?
[PASS] DD0019: is the com.docker.vmnetd process responding?
[PASS] DD0033: does the host have Internet access?
No fatal errors detected.
Steps to reproduce the behavior
- Just a command line:
docker run -it -v /var/lib/docker/containers:/blahblah ubuntu echo hello
ReneWerner87, george-haroun, nolar, octaviancorlade, nickbg321 and 1 more