Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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

 
PREVIOUS NEXT
Tagged: #docker #compose #command #bash #permission #denied
ADD COMMENT
Topic
Name
6+6 =