Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql error on docker-compose #1

Open
Adrian-Sanchez opened this issue Nov 10, 2017 · 0 comments
Open

mysql error on docker-compose #1

Adrian-Sanchez opened this issue Nov 10, 2017 · 0 comments

Comments

@Adrian-Sanchez
Copy link

I was getting this error

Can't create/write to file '/var/lib/mysql/is_writable' (Errcode: 13 - Permission denied)

Got it working by adding user to the .yml file

db:
image: mysql:latest
container_name: "cb_database"
user: "1000:50"
...

Only thing is, I don't really know what it does and if its recommended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant