docker4drupal icon indicating copy to clipboard operation
docker4drupal copied to clipboard

Wodby UID and GID

Open DimDev opened this issue 5 years ago • 2 comments

By default wodby user and group ahs UID and GID = 1000

This can be changed in wodby/php image by passing arguments from docker-compose.yml, but no way to change in wodby/drupal-php image.

It would be nice to have this improved.

DimDev avatar Sep 19 '18 09:09 DimDev

Look: https://github.com/wodby/php/issues/36

edmargomes avatar Apr 21 '19 13:04 edmargomes

With this being something somewhat common, it would be nice if the documentation provided an example of this. The issue linked to above it gives an example and then they are told that it is incorrect, so for a newcomer, they would be back at square one.

As stated the options are:

  • build from wodby/drupal-php image and change uid/gid + chown some things (provide an example)
  • build wodby/php base image and base a version of drupal-php on it. (provide an example)

devkinetic avatar Nov 02 '21 18:11 devkinetic