View Code? Open in Web Editor
NEW
A way to deal with docker volumes and users permissions. Read/write/exe in shared folder from inside the container.
License: MIT License
docker-permissions's Introduction
π Devops and Fullstack web developer π
- π₯ π₯π₯ GCP, terraform, terramate, kubernetes, k9s π₯π₯π₯
- π Working on CI/CD automation, monitoring and alerting, Mysql Replication, micro services,...
- π Using Ansible, Docker, Swarm, gitlab, RabbitMQ, ELK, Grafana, Prometheus, Symfony, API, graphQL, NodeJs and VueJS.
- π«π· France > DrΓ΄me > Valence
- π’ INSA Lyon Engineer
- π» My Job
- π² Mountain bike
- πͺ Cooking
docker-permissions's People
Contributors
docker-permissions's Issues
use this
if [[ -z "$(find $PROJECT_DIR -maxdepth 0 -printf '%U' | grep $PHP_UID_DEFAULT)" ]]; then
in entrypoint.sh
When you have a file with timestamp e.g. 18:33 and a UID 33 for www-data your script fails.
Thank you for sharing you knowledge, saved my day.