<div dir="ltr">You don't need anything in the environment.yaml. You specify that you want to deploy something to a lxc container in the deploy command. e.g.<div><br><div><span style="line-height:1.5">juju deploy mysql --to lxc // deploys mysql to a new lxc container on a new machine</span><br></div><div><span style="line-height:1.5">juju</span><span class="inbox-inbox-Apple-converted-space" style="line-height:1.5"> </span><span style="line-height:1.5">deploy wordpress --to lxc:25 // deploys wordpress to a new lxc container on the already-existing machine #25</span></div><div><span style="line-height:1.5">juju</span><span class="inbox-inbox-Apple-converted-space" style="line-height:1.5"> </span><span style="line-height:1.5">deploy haproxy --to 1/lxc/3 // deploys haproxy to lxc container #3 on machine #1</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">you can also use add-machine to create empty containers:</span></div><div><span style="line-height:1.5"><br></span></div><div><span style="line-height:1.5">juju add-machine lxc // adds a new machine with an empty lxc container on it</span></div><div><span style="line-height:1.5">juju add-machine lxc:5 // adds a new empty lxc container on machine 5</span></div><div><br></div></div><div>Hope that helps.</div><div>-Nate</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 30, 2016 at 4:16 PM Daniel Bidwell <<a href="mailto:drbidwell@gmail.com">drbidwell@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What do I have to put in my .juju/environment.yaml to get juju-1.25.6-<br>
xenial-amd64 to use lxc containers?<br>
--<br>
Daniel Bidwell <<a href="mailto:drbidwell@gmail.com" target="_blank">drbidwell@gmail.com</a>><br>
<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div>