docker hype and juju's future
Serge E. Hallyn
serge at hallyn.com
Thu Nov 21 19:28:08 UTC 2013
Quoting Ramez Hanna (rhanna at informatiq.org):
> Hi,
>
> this is a quick braindump of my thoughts related to docker lxc and juju
>
> There is quite hype around docker these days, which I am not grasping yet
> docker gives tools to create an "image" of a service (basically an os tree
> with a specific service installed) and deploy it to any docker server
> ensuring it will run exactly the same way everywhere !!!
> I am not so fond of the "image" concept in general as it introduces so many
> complexities for maintenance (maybe i am wrong but i cannot stop thinking
> about running maintenance as opposed to the throw away instances)
>
> so in short golden image is not good, containerization is really nice
> concept (I have been a user and a fan of lxc for long)
>
> now what about juju, i beleive juju is the real answer, whether we talk
> throw away instances or rolling instances
> juju does build the service every time you deploy it, with integration of
> tools like the puppet or ansible, it gains so much flexibility
That's an interesting point. So the analogy to an incremental docker
image would be a git-versioned juju-deployer file.
Which kind of fits in to how I've thought juju and docker relate. You
might first want to use docker or lxc-snapshot to practice the steps
for setting up an image. Once you have those steps down, you can codify
them in your charms and juju-deployer file. If anything goes wrong you
can deploy and compare the result to the snaphotted container or docker
image.
-serge
More information about the Juju
mailing list