Giter Site home page Giter Site logo

Comments (5)

moufmouf avatar moufmouf commented on July 18, 2024

Weird... are you having this issue on Ubuntu or Windows?

from docker-images-php.

WizMik avatar WizMik commented on July 18, 2024

Ubuntu 18.04 !

from docker-images-php.

WizMik avatar WizMik commented on July 18, 2024

Okay, it may happen when executing a STARTUP_COMMAND! Running npm -i as a startup command may be responsable for the ownership change before the container is available.

from docker-images-php.

moufmouf avatar moufmouf commented on July 18, 2024

from docker-images-php.

stuchl4n3k avatar stuchl4n3k commented on July 18, 2024

Hi! I think I experienced a similar issue. By extend your image and just changing WORKDIR the black magic is sadly defeated. Reproduce:

  1. Create ./Dockerfile with:
FROM thecodingmachine/php:7.4-v3-slim-apache
WORKDIR /srv
  1. Build: docker build -t tcm-test/php .
  2. Run: docker run --rm -eSTARTUP_COMMAND_1=id -it tcm-test/php id
uid=0(root) gid=0(root) groups=0(root)
uid=0(root) gid=0(root) groups=0(root)

I guess that /srv is just not supported, right?

from docker-images-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.