You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user ID and group ID inside the container and on the host machine should match, in order to let the host machine to grant you permissions to the share directory.
1- Create nonroot user inside nginx and php image
2- Pass UID:GID from docker host to containers to fix permission issue
user ID and group ID inside the container and on the host machine should match, in order to let the host machine to grant you permissions to the share directory.
1- Create nonroot user inside nginx and php image
2- Pass UID:GID from docker host to containers to fix permission issue
Create Non root user:
https://dev.to/acro5piano/specifying-user-and-group-in-docker-i2e
https://medium.com/redbubble/running-a-docker-container-as-a-non-root-user-7d2e00f8ee15
docker/compose#2380
https://boxboat.com/2017/07/25/fixuid-change-docker-container-uid-gid/
https://cinhtau.net/2017/04/19/usermod-and-groupmod-alpine/
Add non-root user to sudoers
https://github.com/michaelsauter/docker-alpine/blob/master/Dockerfile
Create an user inside container as per UID:GROUP from the docker host
USER_ID=$(stat -c "%u" /var/www/"$PROJECT_NAME"/LICENSE)
The text was updated successfully, but these errors were encountered: