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
Image orchardup/mysql throws "ERROR: 1005 Can't create table 'db' (errno: 13)" #142
Comments
The It's possible that Fig is expanding |
It creates the So the new directory structure looks like:
|
What does |
Inside the mysql directory, that is. |
Outside:
And what would be the best way to test it inside the VM? |
How did you run the container inside the VM? |
I know about I used the following command (as mentioned in the source repo) to run the container:
|
Oh – I see what you mean. What's your working directory on your Mac? i.e. the output of |
That Docker command won't mount a volume, so this is probably a problem with Docker/docker-osx and permissions, not Fig. If you run this inside the VM:
Where |
Ah ofcourse! I totally overlooked the fact that the example run command doesn't mount any folders.. Silly me. I've tried with mounting the folder (FYI you can substitute
|
|
I'm used to running Running the |
No worries. Could you run |
FYI I ran:
And |
ping @bfirsh |
Also seeing this issue-- is there a resolution? |
https://bugs.launchpad.net/ubuntu/+source/mysql-5.5/+bug/1095370 happened to me (but not in this docker) |
Any updates? I have this issue as well. |
+1for me too Any clue ?
|
@brycereynolds @herveleclerc Have you tried with the official image, "mysql"? boot2docker 1.3 may also fix this problem. |
boot2docker 1.3 is not fixing problem. same problem with official mysql image |
Maybe related to boot2docker/boot2docker#581 ? |
thanks i make it works by using vmaatta workaround :
By adding in my Dockerfile before getting mysql package
it creates user mysql with uid=999 et gid=999 |
Dockerfile: use Go 1.5.3
My
fig.yml
:And this is what I get when running
fig up
:Note that I ran
docker-osx destroy && docker-osx shell
first.The error isn't thrown when the volume to
/var/lib/mysql
isn't mounted.Also running the container in the VM itself works perfectly fine, so it seems to be a bug in Fig.
Any idea what might cause this? I couldn't find the reason as to why the container tries to create the
db
table.The text was updated successfully, but these errors were encountered: