docker compose gcloud permission denied code example
Example 1: docker-compose permission denied
sudo chmod +x /usr/local/bin/docker-compose
Example 2: docker compose command bash permission denied
sudo chmod 755 ./docker-scripts/*
sudo chmod 755 ./docker-scripts/update-container.sh
# Dockerfile
RUN chmod 755 ./docker-scripts/*
RUN chmod 755 ./docker-scripts/update-container.sh
# docker-compose.yml
command: sh ./docker-scripts/update-container.sh