rootuser domain because it requires access to things like network configuration, process management, and your filesystem. This means that the processes running inside your containers also run as
root. This kind of elevated access is not ideal for day-to-day use, and potentially gives applications the access to things they shouldn't (although, a strong understanding of volume and port mapping will help with this).
root, all files and directories created during the container's lifespan will be owned by
root, thus becoming inaccessible by you.
PGIDallows our containers to map the container's internal user to a user on the host machine. All of our containers use this method of user mapping and should be applied accordingly.
-e PGIDoptions in your docker command:
docker-compose, add them to the
idof yourself, which can be obtained by running the command below. The two values you will be interested in are the