Comments (8)
👍
from boot2docker-vagrant-box.
👍
from boot2docker-vagrant-box.
My team works with Docker regularly so, I keep an up-to-date fork of this project :) feel free to use it in the meantime
https://github.com/wearableintelligence/boot2docker-vagrant-box/releases/tag/docker%2Fv1.7.0
(sorry to @Parallels for the cheeky Github release naming scheme :P heh)
from boot2docker-vagrant-box.
Guys, sorry for so long delay, I had to spend some time to renew our scripts and template.
I've just prepared a pre-release version of parallels/boot2docker box v1.7.0 with some significant changes:
https://github.com/Parallels/boot2docker-vagrant-box/releases/tag/parallels%2Fv1.7.0
Usage information was also updated: https://github.com/Parallels/boot2docker-vagrant-box#usage
@hadronzoo @yurtaev @caseywebdev @zfogg Could you please verify it on your cases?
Since I don't use Docker regularly, I'd like to get a feedback about these changes:
TLS is enabled by default. Certificates are syncing automatically to the ./tls/ directory on every vagrant up.
-
Is it OK that TLS certs is always syncing automatically? It is implemented via shell provision in the box's Vagrantfile (https://github.com/Parallels/boot2docker-vagrant-box/blob/parallels/vagrantfile.tpl#L32-L33)
-
Usage info contains this advice for setting environment variables:
export DOCKER_TLS_VERIFY="1"
export DOCKER_CERT_PATH="`pwd`/tls"
export DOCKER_HOST="tcp://`vagrant ssh-config | sed -n "s/[ ]*HostName[ ]*//gp"`:2376"
Obviously, these commands should be executed in the same directory where vagrant up
was executed. Is it acceptable to your use case? Or do you use some other ways to fetch these values?
from boot2docker-vagrant-box.
It could be tested with:
vagrant box add parallels-test-b2d https://github.com/Parallels/boot2docker-vagrant-box/releases/download/parallels%2Fv1.7.0/boot2docker-parallels.box
vagrant init parallels-test-b2d
vagrant up
from boot2docker-vagrant-box.
Thank you for the update. Is there a reason to enable TLS for this use case? It doesn't seem worth the added complexity and overhead IMO.
from boot2docker-vagrant-box.
Thank you for the update. Is there a reason to enable TLS for this use case? It doesn't seem worth the added complexity and overhead IMO.
@hadronzoo Yes, it looks complicated, but TLS is enabled by default on the server side of boot2docker starting since version 1.3.0. So, most likely users expect that Docker server is running with TLS and it is listening the port 2376.
However, seems like automatic certificate syncing to ./tls/
trough the "shell" provisioner is not a good idea. This approach will not work in case of multi-machine configuration in single Vagrantfile. I think it will be better to remove this provision step and add instruction to to README.md about manual certificate syncing.
Also, I think it will be useful to mention in README.md tip how to disable TLS on the server side. It's quite simple:
vagrant ssh -c "sudo sh -c 'echo \"export DOCKER_TLS=no\" > /var/lib/boot2docker/profile'"
vagrant reload
After that it will be possible to work with unsecure connection:
export DOCKER_TLS_VERIFY="0"
export DOCKER_HOST="tcp://`vagrant ssh-config | sed -n "s/[ ]*HostName[ ]*//gp"`:2375"
Any suggestions? How many people are really need for TLS for Docker on their vagrant machines? Wondering, how do they sync certificates now.
from boot2docker-vagrant-box.
"Better late than never". Finally, it's released now: v1.7.0
And published on Atlas as well: https://atlas.hashicorp.com/parallels/boxes/boot2docker/versions/1.7.0
The upcoming v1.7.1 version will be released much faster :)
from boot2docker-vagrant-box.
Related Issues (20)
- Cannot access my OSX files on containers HOT 6
- Folders that are not relative to the Vagrantfile can not be mounted with docker -v HOT 6
- when will 1.7.1 be on atlas? HOT 2
- NFS mounts fail with 1.7.0 and 1.7.1 on Mavericks HOT 15
- CoreOS Vagrant Box HOT 1
- Possible to exclude folders? HOT 1
- Can't connect host docker client to VM on explicit IP HOT 2
- Error: Docker is not running on the guest VM HOT 2
- Docker 1.8 HOT 1
- Release 1.0.0 to vagrant cloud HOT 4
- unable to use chef_solo inside parallels/boot2docker HOT 2
- Docker 1.9 HOT 2
- Project support status HOT 1
- Keeping VM running on window close? HOT 2
- Upgrade to Docker 1.4.1 HOT 2
- Mounting an external disk HOT 1
- Update to 1.5 HOT 13
- Update to Docker 1.6.0 HOT 11
- vagrant up asking for password HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boot2docker-vagrant-box.