timegridio / dockerfiles

Timegrid Dockerfile for containerized local development environment
6 stars 8 forks source link

Enhance handling permissions with docker volumes #5

Closed alariva closed 7 years ago

alariva commented 7 years ago

Reference: https://denibertovic.com/posts/handling-permissions-with-docker-volumes/

alariva commented 7 years ago

Created branch for this change. Currently getting this error:

alariva@trinsic ~ $ sudo docker run -it  -e LOCAL_USER_ID=`id -u $USER`  timegrid:latest
Starting with UID : 1000
df: '/var/lib/mysql/.': Permission denied
[FAIL] /etc/init.d/mysql: ERROR: The partition with /var/lib/mysql is too full! ... failed!