Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

docker-compose fork/exec permission denied

Last night I updated Docker desktop to the latest version 4.10.1 and today when I tried to run my containers, I get this error:

enter image description here

Cannot start Docker Compose application. Reason: fork/exec [docker-app-path]/bin/docker-compose-v1: permission denied

I'm on a Mac with M1.

I checked some issues, where people suggest adding the command RUN chmod 777 /root to my Dockerfile, but I've got 8 separate apps running, and it's a team-shared repo, so updating the Dockerfiles for this is not the most viable solution.

like image 436
Milkncookiez Avatar asked Dec 17 '25 23:12

Milkncookiez


1 Answers

I'm having the same issue in my Mac with M1. It seems like an issue with the latest version of Docker Desktop, which is 4.10.1 (82475).

Downgrade to Docker Desktop 4.9.1: https://docs.docker.com/desktop/release-notes/#docker-desktop-491

Or run your container from Terminal:

docker-compose up
like image 123
charlesbock Avatar answered Dec 19 '25 17:12

charlesbock



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!