access a unit running in an lxc
John Arbash Meinel
john at arbash-meinel.com
Mon Oct 7 07:36:10 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2013-10-07 7:35, Mike Sam wrote:
> If one deploys a service unit like wordpress inside an lxc, is
> there a way to access it to from the browser using the machine
> public ip? Basically, does juju setup any kinda of dns/routing on
> the machine to point to the units inside the lxc through machine
> public IP? If not, how should I add this?
>
> -- Thanks, Mike
>
>
I'm guessing you are talking about using the local provider? If so,
then I believe Tim Penhey just landed a patch that will let you
configure what network bridge the LXC containers are connected to. And
then you'll need to set them up to be on "br0" connected to your
normal network port, rather than the default "lxcbr0". I'm not
personally 100% sure how to set up those bridges, but hopefully this
hint can set you off on a useful path.
I believe you need juju-core 1.15.1 or newer to be able to configure
the network bridge.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlJSZGoACgkQJdeBCYSNAAOnwwCghAV4fd0khemUN1VYM/lvdGHC
iqwAn1X6+mfZnvne22G4aS/pzWgsTDP7
=GYU/
-----END PGP SIGNATURE-----
More information about the Juju-dev
mailing list