It is possible to develop application on mac with docker without running container as root? -
i'm setting docker-compose php project on mac. mount shared volume code host machine container. obviously, not want run php container root
user. do have option?
i tried:
- changing owner of project files in dockerfile
- changing owner in entrypoint
both methods work fine, until create file in ide - in case file appears owner root
inside container , need restart container (which horrible experience development)
- changing uid user
www-data
in container uid host user.
it didn't work, since files owned root
do miss points here?
Comments
Post a Comment