Re: [lxc-users] basic understanding - clarification sought

2017-04-07 Thread Sean McNamara
LXD and LXC are basically separate, from a user's point of view. the
`lxc` command is actually LXD. `lxc` followed by a dash, like `lxc-ls`
is LXC. These are sometimes referred to (e.g. in Ubuntu packaging) as
lxc-1.0 (lxc-ls, etc.) and lxc-2.0 (LXD).

LXC containers are not too different from Docker; Docker used to use
liblxc as its base.

LXD containers are designed to feel more like a VM, yes. They _can_ be
slightly larger in size, depending, because they run an entire guest
OS minus the kernel, starting from the init daemon, all libraries,
etc.  But the difference in size isn't terrible if you have a
deduplicating filesystem, FS-level compression, or a small number of
containers (or just a huge amount of disk space). A few gigs per
container base image, at most.

I don't foresee any LXD _code_ ever being locked under a proprietary
license. Canonical doesn't really do that. They do have enterprise
support that you can pay for, but in that case, you are paying them
for services (technical advice and possibly individualized patches or
builds), not for source code or software licenses. The software itself
should remain free and open source, though any company (even a company
other than Canonical) could develop proprietary extensions or
integrations at any time if they wanted to. The license won't prevent
them from doing so. I just think it's unlikely in practice.

Sean


On Fri, Apr 7, 2017 at 10:47 PM, gunnar.wagner
 wrote:
> hi everybody,
>
> I am a novice to LXC/LXD and am trying to get a basic understanding
> together. I have grasped some things which I am not sure about whether I got
> them wrong or write.
> Maybe this groups is able and willing to confirm or set things straight for
> me
>
> if you run LXD the lxc commands used are different from the lxc commands
> used when running 'bare' lxc (for example 'lxc list'   vs   'lxc-ls
> --fancy')?
>
> LXD runs on the Apache License 2.0 (same as Docker engine) so it could
> happen the same thing to lxd (being divided into Community vc Enterprise
> Edition) any time (legally speaking. Who would be the force to decide on
> such a move? Canonical? Is there any intention to make such a move at any
> point in time?
>
> an LXC container behaves more like a VM then a docker or rkt container does
> (machine- vs app-container), correct? Is it also larger in size?
>
> thanks for clarifying
>
> Gunnar
>
>
> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] basic understanding - clarification sought

2017-04-07 Thread gunnar.wagner

hi everybody,

I am a novice to LXC/LXD and am trying to get a basic understanding 
together. I have grasped some things which I am not sure about whether I 
got them wrong or write.
Maybe this groups is able and willing to confirm or set things straight 
for me


1.

   if you run LXD the lxc commands used are different from the lxc
   commands used when running 'bare' lxc (for example 'lxc list'   vs  
   'lxc-ls --fancy')?


2.

   LXD runs on the Apache License 2.0 (same as Docker engine) so it
   could happen the same thing to lxd (being divided into Community vc
   Enterprise Edition) any time (legally speaking. Who would be the
   force to decide on such a move? Canonical? Is there any intention to
   make such a move at any point in time?

3.

   an LXC container behaves more like a VM then a docker or rkt
   container does (machine- vs app-container), correct? Is it also
   larger in size?

thanks for clarifying

Gunnar

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] next planned release?

2017-04-07 Thread Stéphane Graber
On Fri, Apr 07, 2017 at 11:43:56AM +0300, Dan Milon wrote:
> Hey everyone,
> 
> I'm getting bitten a lot by the issue that this MR fixes
> https://github.com/lxc/lxc/pull/1432
> 
> Is there a planned release that will include this fix?
> AFAIK latest release was in Jan 23rd, so it's been some time since.
> 
> Thanks,
> Dan.

Plan is for a new set of bugfix release over the next couple of weeks.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


signature.asc
Description: PGP signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] lxc-starts fails to start image

2017-04-07 Thread Nicholas Chambers
Hey guys! I just tried to build an image, which appears to have gone 
successfully. However, when I try to start it, I get the following error:


lxc_container: cgmanager.c: lxc_cgmanager_create: 301 call to 
cgmanager_create_sync failed: invalid request
lxc_container: cgmanager.c: lxc_cgmanager_create: 303 Failed to create 
pids:lxc/base_image
lxc_container: cgmanager.c: cgm_create: 650 Error creating cgroup 
pids:lxc/base_image

lxc_container: start.c: lxc_spawn: 910 failed creating cgroups
lxc_container: start.c: __lxc_start: 1149 failed to spawn 'base_image'
lxc_container: lxc_start.c: main: 341 The container failed to start.
lxc_container: lxc_start.c: main: 345 Additional information can be 
obtained by setting the --logfile and --logpriority options.



A (copyable and pastable) demonstration: 
https://asciinema.org/a/1ne5v71s24s1iaxz1giy6e3wh


output of uname -r: 4.4.0-72-generic

This was previously working, but I can't figure out whats going wrong.



--
Nicholas Chambers
Technical Support Specialist
nchamb...@lightspeedsystems.com
1.800.444.9267
www.lightspeedsystems.com

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] next planned release?

2017-04-07 Thread Dan Milon
Hey everyone,

I'm getting bitten a lot by the issue that this MR fixes
https://github.com/lxc/lxc/pull/1432

Is there a planned release that will include this fix?
AFAIK latest release was in Jan 23rd, so it's been some time since.

Thanks,
Dan.



signature.asc
Description: OpenPGP digital signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users