-
Notifications
You must be signed in to change notification settings - Fork 16
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
Update to 1.5 #22
Comments
👍 |
If you don't need VirtualBox FS, I offer only-docker.box instead. |
Hey @YungSang , You probably got other things on your head, so do you want me to make a PR with the version bump? Cheers |
👍 |
Sorry for this late reply and telling this. @tonivdv Thank you for your offering. Notes: yungsang/boot2docker may need the custom boot2docker.iso built with https://github.com/YungSang/boot2docker. https://github.com/wearableintelligence/boot2docker-vagrant-box |
Ah that's sad news :( Thanks for the effort in the past and good luck in your new adventures! Cheers |
@tonivdv Thank you so much. Good luck to you, too. |
Should others be interested, following is maintained and working well https://github.com/dduportal/boot2docker-vagrant-box |
tonivdv - is there a binary available or did you have to build it yourself? |
@thedug everything is available. You simply need to do $ vagrant init dduportal/boot2docker
$ vagrant up And if you need nfs, check dduportal#10 |
When I try to connect I get this error: FATA[0000] Get http://localhost:2375/v1.17/images/json: EOF. Are you trying to connect to a TLS-enabled daemon without TLS? $ echo $DOCKER_HOST |
@thedug check if guest machine forwarding correctly forwarding 2375 and via |
dduportal is not disabling tls like yungsang. I was able to ssh in and manually disable but I don't want to have to make the entire dev team do that. I'm currently trying to think of a way to do that from the Vagrant file. Alternatively I setting up the certs from the Vagrant file or with a script would be acceptable as well. |
Hey @thedug , You need to add next to the Vagrant file a file called bootlocal.sh with following content:
This file will get called on each vagrant up, and set correct TLS certificats Then change your export to: export DOCKER_CERT_PATH=/tls You could still have permission issue, because by default this box creates shares under the user 'root'. To circumvent that add following in your vagrant file: config.nfs.map_uid = Process.uid
config.nfs.map_gid = Process.gid I have it working fine, hope you'll be able to do it too. Cheers |
This gets exported on the OSX host right? If so will the dir exist in the root? Seems odd. export DOCKER_CERT_PATH=/tls This is not great as it is not easily scriptable if the path is different for every user. Disabling TLS seems better and reason not to? |
No reason, having TLS disable feature is probably the way to go.
Not sure if we are on the same line here :). Let me give you a concrete example. Assume your project containing the Therefore in your .profile or .bash_profile you will set the export to export DOCKER_CERT_PATH=/Users/dummy/project/tls
export DOCKER_HOST=tcp://127.0.0.1:2376 So you can script that during an initial set-up, as it's always related to current directory where the Vagrantfile is situated. But you are free to change the bootlocal.sh file to meet your needs.
I shared this, because the config.nfs.map_uid = Process.uid
config.nfs.map_gid = Process.gid From what I understand here is that this sets the user and group to the same one that runs the vagrant file. Hope it helps :) |
@tonivdv That does help. In your previous comment you an absolute path to /tls, which was confusing. :) export DOCKER_CERT_PATH=/tls |
@thedug Ah yes, sorry I removed my path and forget to set a dummy one :) My Bad. Glad it helped. I'm probably going to do a PR for better doc on the dduportal fork regarding all this. |
Yes. I noticed a typo in that doc it is still referencing the upstream project. Douglas |
In case someone still needs it : https://atlas.hashicorp.com/Hellslicer/boxes/boot2docker |
http://blog.docker.com/2015/02/docker-1-5-ipv6-support-read-only-containers-stats-named-dockerfiles-and-more/
The text was updated successfully, but these errors were encountered: