Docker Jumpstart
github.com
github.com
It seems that by that point you've lost the advantage of using images; if parts of the system must be loaded outside of the container, it seems you might as well simply use a configuration manager to install the stuff and then run LXC/LXD containers instead of using images at all.
For me, mounting my local app files as a volume is useful during development since it keeps the workflow fast. I don't have to rebuild the image every time I want to try the app out, I get to use the new code without delay.
If I were deploying as a container, I presume my build process would check the app out of git and build the image based on that fresh checkout. I'm just using Docker as a convenient way of simulating my production environment (dev'ing on Ubuntu 15.04, but deploying to Debian 7), and still be able to iterate rapidly.
You might be interested in my blog and book:
http://zwischenzugs.wordpress.com/
There are links through there to my book, where the first chapter is free to download, and may help. Let me know if you have any feedback.
For a good 2-3 sentences description I go on Wikipedia when available.
I'll have to give boot2docker a try to see if it is changing things. Having a good guide will definitely help.
Machine makes it really easy to create Docker hosts on your
computer, on cloud providers and inside your own data center.
It creates servers, installs Docker on them, then configures
the Docker client to talk to them.
Kitematic is another option https://kitematic.comEdit: I tried v0.3.0-rc2
Edit: ah, here it is - https://github.com/odewahn/docker-jumpstart/blob/master/publ...
Edit: filed a PR
Using btrfs as cow is not ready for production (yet and likely not in the near future) - believing otherwise made the last few feeks quite miserable.
Yes, but it's not like they don't warn people. From the Docker docs:
"This backend is pretty fast, however btrfs is still maturing and is not considered production ready for heavy write loads. Mounting /var/lib/docker on a different filesystem than the rest of your system is recommended in order to limit the impact of filesystem corruption. You would also want to mount the volume directory /var/lib/docker/vfs/ on a standard XFS or EXT4 filesystem to ensure container data is protected."
Is Beanstalk worth it? Is it cheaper than an ec2 instance?
There's also a bunch of advanced docker options you can check out:
http://docs.nitrous.io/v1.0/docs/advanced-container-manageme...
Would be a good compliment to the docker jumpstart manual.
1. You need to set more than just tcp://ip:2376. You need to run
$ eval $(boot2docker shellinit)
to also set vars for DOCKER_CERT_PATH
2. In order to get proper forwarding from your host Mac OS X to your boot2docker-vm, you use -P as a command line option for any containers you 'run'.
Bonus docker gotcha:
docker containers can't make fsync() calls on shared folders between your Mac and the boot2docker-vm. This means a lot of database software can't use a shared folder to store a database.
Shouldn't that be guest OS?