<div dir="ltr"><div><div>I'm woking with Docker now too, and one of the advantages is the images, which are used to deploy the containers.</div><div>In the Juju ecosystem, docker images are like charms, but the difference is that for each deployed charm, it haves to run all the download and install staff, taking again all that time and machine effort to deploy the same kind of charm.</div>
</div><div><br></div><div>Maybe I'm just tripping, but I imagine a feature Juju ecosystem based in Docker, check this out:</div><div><br></div><div><b>Charms = Images</b>: Where you have Docker files, each step of the build can be cached, and creates automatically a commit.</div>
<div><br></div><div><b>Charm units = Docker containers</b>.</div><div><br></div><div><b>Charms relations = Link containers</b>: <a href="http://docs.docker.io/en/latest/use/working_with_links_names">http://docs.docker.io/en/latest/use/working_with_links_names</a> and <a href="http://docs.docker.io/en/latest/use/ambassador_pattern_linking">http://docs.docker.io/en/latest/use/ambassador_pattern_linking</a></div>
<div>It's not the same, but! it's nice to that Docker know about link services.</div><div><br></div><div><b>Exposing ports</b>: <a href="http://docs.docker.io/en/latest/use/port_redirection">http://docs.docker.io/en/latest/use/port_redirection</a></div>
<div><br></div><div><b>Reusing data volumes</b>: <a href="http://docs.docker.io/en/latest/use/working_with_volumes">http://docs.docker.io/en/latest/use/working_with_volumes</a></div><div><br></div><div><b>Spawning services into the container</b>: <a href="http://docs.docker.io/en/latest/examples/using_supervisord">http://docs.docker.io/en/latest/examples/using_supervisord</a></div>
<div><br></div><div><b>Docker haves a nice API</b>: <a href="http://docs.docker.io/en/latest/reference/api">http://docs.docker.io/en/latest/reference/api</a></div><div><br></div><div><b>Charm hooks = ?</b>: Docker doesn't haves that, instead is expecting something like Puppet or Ansible.</div>
<div><br></div><div>and of course there's more where Juju and Docker can work.</div><div><br></div><div>My ideia, is making Juju work <b>with</b> Docker, and not in parallel, or into a deployed charm.</div><div>I'm from the Drupal and PHP community and one of the best things just happened is the adoption of Symfony to build Drupal features on top. Now we are <b>Drupal+Symfony</b> communities working together to bring the best things of each one, for example, the charms hooks into docker containers.</div>
<div><br></div><div>So, thats it for now, if someone is interested in this topic, please!! lets talk :D</div><div><br></div><div>cheers!</div><div><br></div><div><br></div>
</div>