. Advertisement .
..3..
. Advertisement .
..4..
Many of you, like us, may continue to encounter numerous errors while using the app.
One of the most frequently asked errors, for example, is “Docker Compose mac Error: Cannot Start Service Zoo1: Mounts Denied“. So, how can this be resolved? We will discuss together to figure out the best solutions for you.
When Does The Error “ Docker Compose mac Error: Cannot Start Service Zoo1: Mounts Denied” Happen?
When you run docker-compose up -d, you get the following error:
It worked yesterday before you repeatedly updated Docker for Mac to Docker version 20.10.0, build 7287ab3. Big Sur 11.0.1 is installed on the Macbook.
It only works if Docker is set to 19.03.13. However, this is not a viable option.
% docker-compose up -d
Creating network "kafka-test_default" with the default driver
Creating kafka-test_zoo1_1 ... error
ERROR: for kafka-test_zoo1_1 Cannot start service zoo1: Mounts denied: approving /Users/test/kafka-test/zk-single-kafka-single/zoo1/datalog: file does not exist
ERROR: for zoo1 Cannot start service zoo1: Mounts denied: approving /Users/test/kafka-test/zk-single-kafka-single/zoo1/datalog: file does not exist
ERROR: Encountered errors while bringing up the project.
The Simple Solutions For You
Solution 1:
You can follow the installation of Docker Desktop 3.0.0 (for Mac).It is able to use volume mounts again after going into Preferences and disabling Experimental Features -> Use gRPC FUSE for file sharing.
This may resolve your error.
Solution 2:
On Mac, click the Whale Icon in the top toolbar, then “Check for Updates” to force your Docker Desktop app to update. Restart Docker after the update has been installed. You should now disable “Experimental Features -> Use gRPC FUSE for file sharing.”
Solution 3:
After installing Docker Desktop 3.0.0 for Mac, this answer solved the problem then It is discovered the following resources explaining that there was a bug in 3.0.0 ->, so I upgraded to 3.0.1, and the problem was solved! #5115.
We believe that the above solutions will be beneficial to all of you.
Conclusion
If you’re stuck on the error “Docker Compose mac Error: Cannot Start Service Zoo1: Mounts Denied”, the remedies listed above are the fastest way.
People have a growing community where everybody is usually willing to help if you still need advice or have frequent doubts. Finally, we hope you’re having fun with the amazing code options and appreciate spending time reading.
Leave a comment