[lxc-users] access to snapshots from within the containers
Stéphane Graber
stgraber at ubuntu.com
Thu Jun 15 17:13:03 UTC 2017
On Thu, Jun 15, 2017 at 07:58:33AM +0200, mjansens wrote:
> Hi,
>
> Thank you Stéphane for this clarification.
> I'll indeed try to stick with the LTS version if I can. The snapshot glitch has an easy work around: just need to do a ‘ls’ of the new snapshot contents in the host (can even happen in a cron). And anyway, nobody said this issue was fixed in later updates...
Yeah, I don't expect this to be any different on the LXD feature branch.
This behavior is an internal ZFS behavior and short of having LXD clone
every snapshot and mount the resulting clone, I can't think of another
way to easily expose that data.
>
> Where I might get stuck is in the network part: I will need at some point to lock some containers in specific VLANs. I more or less have gathered from various info on the web that LXD2.0.x networking is limited to a simple bridge (my actual config) or the standard NAT.
LXD 2.0.x doesn't have an API to let you define additional bridges.
There's however nothing preventing you from defining additional bridges
at the system level and then telling LXD to use them.
>
>
> Thanks,
>
> Michel
>
>
> > On 14 Jun 2017, at 19:10, Stéphane Graber <stgraber at ubuntu.com> wrote:
> >
> > On Wed, Jun 14, 2017 at 03:41:27PM +0800, gunnar.wagner wrote:
> >> not directly related to your snapshot issue but still maybe good to know
> >> fact
> >>
> >> On 6/13/2017 8:37 PM, Michel Jansens wrote:
> >>> I’m busy discovering LXD v2.0.9 on Ubuntu 16.04
> >> if you want the most recent (yet regarded stable for production) version of
> >> LXD on an ubuntu 16.04 host you'd install it from the xenial-backports
> >> sources
> >>
> >> sudo apt install -t xenial-backports lxd lxd-client
> >>
> >> this gives you 2.13 at this point in time. I am not really sure what the
> >> lxd-client package exactly does (or which feature your are missing if you
> >> don;t have that) but it was recommended somewhere to get that as well
> >
> > Please don't tell people to do that unless they understand the implications!
> >
> > Doing the above will get your system from the LXD LTS branch (2.0.x) to
> > the LXD feature branch. Downgrading isn't possible, so once someone does
> > that, there's no going back.
> >
> > The LXD LTS branch (2.0.x) is supported for 5 years and only gets
> > bugfixes and security updates. This is typically recommended for
> > production environments where new features are considered a risk rather
> > than benefit.
> >
> > The LXD feature branch (currently at 2.14) is updated monthly, is only
> > supported until the next release is out and will receive new features
> > which may require user intervention to setup after upgrade.
> >
> >
> > --
> > Stéphane Graber
> > Ubuntu developer
> > http://www.ubuntu.com
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170615/b081c1a5/attachment.sig>
More information about the lxc-users
mailing list