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
Not working with boot2docker on Mac OS X #1
Comments
Turns out that under boot2docker you can only use directories under /User when mounting a volume.
Produces this output:
If I try to run without mounting a volume it works: |
I think this is the same underlying problem as boot2docker issue #587 which means that the file permissions are not translated properly when you use the /Users folder. If you tell docker to use the boot2docker hard drive then it should work as a workaround i.e. something like /mnt/sda1/mqlight/ |
@RobQuads so I don't think that the mqlight image should be effected by that particular issue, as with the latest mqlight image we run as a user with 1000:50, so the file vbox mount permissions correctly match the running user. I wasn't able to reproduce the issue reported by @trondgzi ─ when I tried to map a drive outside of $HOME, it just silently ignored it and /var/mqlight was with the aufs layer. However, I'm still seeing issues in boot2docker + osx when restarting the container |
@dnwe I just upgraded to docker/boot2docker 1.6.1 (installed with brew) and I still have issues. Trying to map outside of $HOME results in:
Mapping inside $HOME:
The only way I can make it start is to not use a mapping |
Various changes, particularly to allow /var/mqlight to be mapped to file systems that don't support O_DIRECT. Fixes ibm-messaging#1
Various changes, particularly to allow /var/mqlight to be mapped to file systems that don't support O_DIRECT. Fixes ibm-messaging#1
Using the latest image it should now be possible to use file systems outside of $HOME. However, it is still not possible to map to $HOME because of a VirtualBox bug. An error message will be returned if an attempt is made to map to a file system affected by this bug. Note that under boot2docker mapped locations outside of $HOME will, by default, only be available from within the boot2docker VM. |
I'm trying to run this command with boot2docker v1.5.0:
docker run --env LICENSE=accept --volume /usr/local/var/docker/mqlight:/var/mqlight --publish 5672:5672 --publish 9180:9180 ibmimages/mqlight:early-access
And this is my output:
The text was updated successfully, but these errors were encountered: