Comments (2)
well, it's definitely possible :)
but do you really need it? isn't matching uid sufficient for dev purposes?
from php.
well, it's definitely possible :)
but do you really need it? isn't matching uid sufficient for dev purposes?
Hey thanks for looking into it.
TBH, up until now, using a group ID other than the primary host GID to create the user in the container has not made problems. I may be a little bit obsessed :-D about having UID/GID to match between host and container, as it looks more "seamless". To visualize a bit, here is example oupt of directory listing that I currently have:
λ ls -la
total 716
drwxrwxr-x 14 johndoe php linux vdi users 4096 Sep 20 11:56 .
drwxr-xr-x 6 johndoe users 4096 Sep 6 11:36 ..
-rwxrwxr-x 1 johndoe users 6225 Sep 8 15:21 composer.json
-rwxr-xr-x 1 johndoe users 532263 Sep 8 15:21 composer.lock
drwxrwxr-x 3 johndoe users 4096 Jun 30 15:28 config
-rw-r--r-- 1 johndoe users 11878 Sep 7 11:55 docker-compose.yml
-rw-r--r-- 1 johndoe users 5 Sep 7 11:55 .dockerignore
-rw-r--r-- 1 johndoe users 2926 Sep 7 11:55 docker.mk
drwxrwxr-x 4 johndoe users 4096 Sep 7 11:55 drush
-rwxrwxr-x 1 johndoe php linux developer 357 Jun 30 15:34 .editorconfig // <--- created/modified in wodby container
-rwxrwxr-x 1 johndoe users 2938 Sep 20 11:56 .env
-rw-r--r-- 1 johndoe users 2724 Sep 7 11:55 .env.dist
drwxrwxr-x 8 johndoe users 4096 Sep 14 12:55 .git
-rwxrwxr-x 1 johndoe php linux developer 3858 Jun 30 15:34 .gitattributes // <--- created/modified in wodby container
-rw-r--r-- 1 johndoe users 893 Sep 7 11:55 .gitignore
drwxrwxr-x 3 johndoe users 4096 Sep 22 09:46 .idea
-rw-r--r-- 1 johndoe users 391 Sep 7 11:55 load.environment.php
-rw-r--r-- 1 johndoe users 128 Sep 7 11:55 Makefile
-rwxrwxr-x 1 johndoe users 1837 Jul 5 09:15 phpunit.xml
-rw-r--r-- 1 johndoe users 1692 Sep 7 11:55 phpunit.xml.dist
-rw-r--r-- 1 johndoe users 7897 Sep 7 11:55 README.md
drwxrwxr-x 7 johndoe users 4096 Jul 14 09:26 tests
drwxrwxr-x 64 johndoe php linux developer 4096 Sep 8 15:21 vendor // <--- created/modified in wodby container
drwxrwxr-x 8 johndoe users 4096 Sep 8 11:01 web
from php.
Related Issues (20)
- Add xdiff extentsion
- Replace dev-macos images with multi-arch images HOT 1
- Enabling xdebug from environment variable HOT 3
- Locales not working HOT 1
- Can we still use Blackfire ? HOT 3
- docker pull wodby/php:7.4 not working on WSL2 Ubuntu 20.04 HOT 1
- php-ast version
- Extension seem to be missing in container when using Rosetta on Mac HOT 6
- Compile GD library with AVIF support HOT 2
- Upgrade xdebug to 3.3.0 HOT 1
- [Feature Request] Add support for PHP 8.3
- PHP 8.3 unsupported extensions HOT 5
- XDebug 3.3.0 in 4.41.0 causing CI failures HOT 7
- Consider to add php-spx the profiling extension HOT 2
- Environment variables with equals signs are truncated in SSH sessions
- Use host.docker.internal as default value for Xdebug
- Update sqlite to satisfy Drupal 11 HOT 2
- Add environment variable for "disable_functions" and potentially "disable_classes" php.ini configs
- Sqlite not fully updated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php.