Re: docker -> lxdbr0
It really does ... don't know why I didn't just add the extra file. I've fixed this. Thanks! > On Jun 21, 2017, at 6:32 AM, John Meinelwrote: > > Gotcha. Though I will say that looks more like its a bogus comment about a > file that this isn't. But I see what you're doing. > > John > =:-> > > >> On Wed, Jun 21, 2017 at 5:29 PM, James Beedy wrote: >> It's in the comments at the top of the gist. >> >>> On Jun 20, 2017, at 10:31 PM, John Meinel wrote: >>> >>> This definitely sounds interesting. >>> >>> You included the layer python code, but not the "daemon.json.j2" file. >>> Isn't that part of getting the networking config in place? >>> >>> John >>> =:-> >>> >>> On Wed, Jun 21, 2017 at 6:16 AM, James Beedy wrote: On integrating docker and lxd deployed apps ... My charm includes layer-docker, and exposes a simple api wrapping docker-py to allow the charm to login to dockerhub, pull and run docker images, and a few other standard docker ops. My dockerized apps talk to elasticsearch, mysql, and redis, all of which get deployed via Juju in production, but the developer envs don't have an easy time getting the whole bunch up on their laptops due to some lxd <-> docker integration. Today, I thought to deploy the mysql, elasticsearch, and redis to lxd aside the docker containers on the same host for local development - I was hitting a bump in the road getting the docker containers to talk to the lxd, so I looked into how to set the default docker bridge, and came up with this https://gist.github.com/jamesbeedy/39829a14fdc64583dfda4a6be1812aea ~James -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev >>> > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: docker -> lxdbr0
Gotcha. Though I will say that looks more like its a bogus comment about a file that this isn't. But I see what you're doing. John =:-> On Wed, Jun 21, 2017 at 5:29 PM, James Beedywrote: > It's in the comments at the top of the gist. > > On Jun 20, 2017, at 10:31 PM, John Meinel wrote: > > This definitely sounds interesting. > > You included the layer python code, but not the "daemon.json.j2" file. > Isn't that part of getting the networking config in place? > > John > =:-> > > > On Wed, Jun 21, 2017 at 6:16 AM, James Beedy wrote: > >> On integrating docker and lxd deployed apps ... >> >> My charm includes layer-docker, and exposes a simple api wrapping >> docker-py to allow the charm to login to dockerhub, pull and run docker >> images, and a few other standard docker ops. My dockerized apps talk to >> elasticsearch, mysql, and redis, all of which get deployed via Juju in >> production, but the developer envs don't have an easy time getting the >> whole bunch up on their laptops due to some lxd <-> docker integration. >> Today, I thought to deploy the mysql, elasticsearch, and redis to lxd aside >> the docker containers on the same host for local development - I was >> hitting a bump in the road getting the docker containers to talk to the >> lxd, so I looked into how to set the default docker bridge, and came up >> with this https://gist.github.com/jamesbeedy/39829a14fdc64583dfda >> 4a6be1812aea >> >> ~James >> >> -- >> Juju-dev mailing list >> Juju-dev@lists.ubuntu.com >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/juju-dev >> >> > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: docker -> lxdbr0
It's in the comments at the top of the gist. > On Jun 20, 2017, at 10:31 PM, John Meinelwrote: > > This definitely sounds interesting. > > You included the layer python code, but not the "daemon.json.j2" file. Isn't > that part of getting the networking config in place? > > John > =:-> > > >> On Wed, Jun 21, 2017 at 6:16 AM, James Beedy wrote: >> On integrating docker and lxd deployed apps ... >> >> My charm includes layer-docker, and exposes a simple api wrapping docker-py >> to allow the charm to login to dockerhub, pull and run docker images, and a >> few other standard docker ops. My dockerized apps talk to elasticsearch, >> mysql, and redis, all of which get deployed via Juju in production, but the >> developer envs don't have an easy time getting the whole bunch up on their >> laptops due to some lxd <-> docker integration. Today, I thought to deploy >> the mysql, elasticsearch, and redis to lxd aside the docker containers on >> the same host for local development - I was hitting a bump in the road >> getting the docker containers to talk to the lxd, so I looked into how to >> set the default docker bridge, and came up with this >> https://gist.github.com/jamesbeedy/39829a14fdc64583dfda4a6be1812aea >> >> ~James >> >> -- >> Juju-dev mailing list >> Juju-dev@lists.ubuntu.com >> Modify settings or unsubscribe at: >> https://lists.ubuntu.com/mailman/listinfo/juju-dev >> > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
Re: docker -> lxdbr0
This definitely sounds interesting. You included the layer python code, but not the "daemon.json.j2" file. Isn't that part of getting the networking config in place? John =:-> On Wed, Jun 21, 2017 at 6:16 AM, James Beedywrote: > On integrating docker and lxd deployed apps ... > > My charm includes layer-docker, and exposes a simple api wrapping > docker-py to allow the charm to login to dockerhub, pull and run docker > images, and a few other standard docker ops. My dockerized apps talk to > elasticsearch, mysql, and redis, all of which get deployed via Juju in > production, but the developer envs don't have an easy time getting the > whole bunch up on their laptops due to some lxd <-> docker integration. > Today, I thought to deploy the mysql, elasticsearch, and redis to lxd aside > the docker containers on the same host for local development - I was > hitting a bump in the road getting the docker containers to talk to the > lxd, so I looked into how to set the default docker bridge, and came up > with this https://gist.github.com/jamesbeedy/ > 39829a14fdc64583dfda4a6be1812aea > > ~James > > -- > Juju-dev mailing list > Juju-dev@lists.ubuntu.com > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/juju-dev > > -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev