docker compose command denied f code example
Example: 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