Giter Club home page Giter Club logo

Comments (2)

csandanov avatar csandanov commented on June 12, 2024

well, it's definitely possible :)

but do you really need it? isn't matching uid sufficient for dev purposes?

from php.

Nguimjeu avatar Nguimjeu commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.