Docker compose in Juju

Gayan Gunarathne csegayan at gmail.com
Tue May 31 13:41:17 UTC 2016


Hi Marco,

Thanks for the details.

Actually I just want to do something like this. Lets say I have tomcat and
mysql composite application. So I need to deploy these two application in
docker with depends on(I am really glad if I can use demo UI[1]). How can I
do that?

Do you already have charms that run in docker with the same? Can you point
me to some sample?

[1]https://demo.jujucharms.com/

Thanks,
Gayan

On Tue, May 31, 2016 at 6:52 PM, Marco Ceppi <marco.ceppi at canonical.com>
wrote:

> Hi Gayan,
>
> I've added the general Juju list which covers more of these general topics.
>
> So, because of the nature of LXC machines and Docker style application
> containers it's hard to model that style application container in Juju in
> the same way LXC machines work. However, it's quite easy to wrap something
> like a Docker container, which works really well as a payload/software
> delivery tool, but then you can use Juju to wrap that immutable object and
> make it mutable inside of a Juju deployment.
>
> I know there are quite a few people on the juju mailing list doing this
> today, so I'll let them weigh in. In short, yes you can use Docker and
> docker style application containers with Juju, but not in the same direct
> way you would a LXC machine just because of the differences in function and
> form.
>
> Marco
>
> On Tue, May 31, 2016 at 7:09 AM Gayan Gunarathne <csegayan at gmail.com>
> wrote:
>
>> Hello,
>>
>> Can we run docker directly with Juju? I saw Juju is supporting the LXC
>> containers. I need to know whether we can spawn docker containers as the
>> same.
>>
>> If we support this can you point me to any document?
>>
>> Thanks,
>> Gayan
>> --
>> Juju-dev mailing list
>> Juju-dev at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>>
>


-- 
Best Regards,
Gayan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160531/a4736d88/attachment.html>


More information about the Juju-dev mailing list