Giter VIP home page Giter VIP logo

docker-symfony's People

Contributors

eddaoust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-symfony's Issues

Permissions /var/www/html

hi,

How do you control the file permissions on /var/www/html?

When you run the new project ($ symfony new ./ --webapp) inside the container, you do it with root permissions so i cant modified code on host machine.

root@38e8e8512856:symfony new ./ --webapp
* Creating a new Symfony project with Composer
  (running /usr/bin/composer create-project symfony/skeleton /var/www/html  --no-interaction)

* Setting up the project under Git version control
  (running git init /var/www/html)

fatal: detected dubious ownership in repository at '/var/www/html'
To add an exception for this directory, call:

	git config --global --add safe.directory /var/www/html
                   
  exit status 128  
:~/Documents/containers/Docker-Symfony$ ls -l www/
total 120
drwxr-xr-x 2 root root  4096 dic 27 14:23 bin
-rw-r--r-- 1 root root  1645 dic 27 14:24 composer.json
-rw-r--r-- 1 root root 87508 dic 27 14:24 composer.lock
drwxr-xr-x 4 root root  4096 dic 27 14:23 config
drwxr-xr-x 2 root root  4096 dic 27 14:23 public
drwxr-xr-x 3 root root  4096 dic 27 14:23 src
-rw-r--r-- 1 root root  1595 dic 27 14:23 symfony.lock
drwxrwxrwx 4 root root  4096 dic 27 14:23 var
drwxr-xr-x 6 root root  4096 dic 27 14:23 vendor

thanks

Down !!!

hi it since that your "image" das not run it fails all the time.

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.