[Solved] “/usr/local/bin/docker-compose: Permission denied”

Because the task needs to deploy the docker compose tool environment in the server, I reported the error “/usr/local/bin/docker compose: permission denied” when viewing the version. This error message should be due to insufficient permissions

Authorize at this time:

chmod +x /usr/local/bin/docker-compose

Then check the version and it will be normal

Similar Posts: