Dear Colleagues:
I'm trying to use virt-manager to create a container with lxc, as the picture I attached, I indicated that I must point to a directory where the template is to manage it with virt-manager.
I tried to use a template of http://wiki.openvz.org/Download/template/precreated, but not working, being on the console option displays a black screen with nothing.
I wonder, where can I get a template to work with virt-manager, or what are the steps to follow so you can create a template with Centos Minimal, do not know if the template must be the same version of Centos 7 or can be a template with Centos 6.5
In advance, thank you very much.
-Pablo
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.47.26-DHi28gtt.p...
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.49.02-y4TkGxLY.p...
Hi,
I've got an old image here: http://li.nux.ro/download/LXC/
Use at your own risk etc :-)
-- Sent from the Delta quadrant using Borg technology!
Nux! www.nux.ro
----- Original Message -----
From: "Pablo Silva" psilvao@gmail.com To: centos-virt@centos.org Sent: Tuesday, 15 July, 2014 3:53:45 PM Subject: [CentOS-virt] Fwd: About Centos 7 + Virt-manager
Dear Colleagues:
I'm trying to use virt-manager to create a container with lxc, as the
picture I attached, I indicated that I must point to a directory where the template is to manage it with virt-manager.
I tried to use a template of
http://wiki.openvz.org/Download/template/precreated, but not working, being on the console option displays a black screen with nothing.
I wonder, where can I get a template to work with virt-manager, or what
are the steps to follow so you can create a template with Centos Minimal, do not know if the template must be the same version of Centos 7 or can be a template with Centos 6.5
In advance, thank you very much.
-Pablo
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.47.26-DHi28gtt.p...
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.49.02-y4TkGxLY.p...
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Thanks Nux, but now I'm fighting with the network settings...
There is some tutorial for this?,
How do you create centos template, can you give me some steps for this...
Thanks in Advance
Pablo
On Tue, Jul 15, 2014 at 2:32 PM, Nux! nux@li.nux.ro wrote:
Hi,
I've got an old image here: http://li.nux.ro/download/LXC/
Use at your own risk etc :-)
-- Sent from the Delta quadrant using Borg technology!
Nux! www.nux.ro
----- Original Message -----
From: "Pablo Silva" psilvao@gmail.com To: centos-virt@centos.org Sent: Tuesday, 15 July, 2014 3:53:45 PM Subject: [CentOS-virt] Fwd: About Centos 7 + Virt-manager
Dear Colleagues:
I'm trying to use virt-manager to create a container with lxc, as
the
picture I attached, I indicated that I must point to a directory where
the
template is to manage it with virt-manager.
I tried to use a template of
http://wiki.openvz.org/Download/template/precreated, but not working,
being
on the console option displays a black screen with nothing.
I wonder, where can I get a template to work with virt-manager, or
what
are the steps to follow so you can create a template with Centos Minimal, do not know if the template must be the same version of Centos 7 or can
be
a template with Centos 6.5
In advance, thank you very much.
-Pablo
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.47.26-DHi28gtt.p...
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.49.02-y4TkGxLY.p...
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Greetings,
----- Original Message -----
Thanks Nux, but now I'm fighting with the network settings... There is some tutorial for this?, How do you create centos template, can you give me some steps for this... Thanks in Advance Pablo
On Tue, Jul 15, 2014 at 2:32 PM, Nux! < nux@li.nux.ro > wrote: Hi, I've got an old image here: http://li.nux.ro/download/LXC/ Use at your own risk etc :-) -- ----- Original Message -----
From: "Pablo Silva" < psilvao@gmail.com > To: centos-virt@centos.org Sent: Tuesday, 15 July, 2014 3:53:45 PM Subject: [CentOS-virt] Fwd: About Centos 7 + Virt-manager
Dear Colleagues:
I'm trying to use virt-manager to create a container with lxc, as the picture I attached, I indicated that I must point to a directory where the template is to manage it with virt-manager.
I tried to use a template of http://wiki.openvz.org/Download/template/precreated , but not working, being on the console option displays a black screen with nothing.
I wonder, where can I get a template to work with virt-manager, or what are the steps to follow so you can create a template with Centos Minimal, do not know if the template must be the same version of Centos 7 or can be a template with Centos 6.5
In advance, thank you very much. -Pablo
http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.47.26-DHi28gtt.p... http://picpaste.com/Captura_de_pantalla_2014-07-15_a_las_10.49.02-y4TkGxLY.p...
While virt-manager has had an lxc option for some time, and yes, I've actually seen a few tutorials by adventurous Fedorians on Fedora Planet over the last couple of years... to the best of my knowledge, almost no one is using virt-manager with containers. Red Hat only sees containers for applications and they are favoring strongly Docker.
Among the many guides released with RHEL7 was one entitled, "Resource Management and Linux Containers" (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/htm...). It does have a section on LXC containers but they really don't go into it too much.
Canonical is the main lead on LXC containers... so maybe they have some documentation?
If you want to containerize applications, then Docker might be the way to go. If you want a full-blown container (complete distro with independent accounts, networking, services, etc) then OpenVZ is the way to go. OpenVZ is a third-party patch to the kernel that will never get into the mainline kernel so you have to use an OpenVZ-provided kernel (their stable branches are based on RHEL-kernels) and utils. They have EL5 and EL6-based kernels... and are working on an EL7-based one but no date on when that will be released.
I'm a big OpenVZ user (since 2005) so if you have questions, feel free to email me directly if desired... or find me in #openvz on freenode during MST business hours.
TYL,
Greetings,
----- Original Message -----
Canonical is the main lead on LXC containers... so maybe they have some documentation?
I haven't processed it yet... but they appear to have some documentation. See the LXC section of their Server manual starting on page 323:
https://help.ubuntu.com/14.04/serverguide/serverguide.pdf
That doesn't help much on Fedora nor CentOS... because LXC varies greatly from kernel to kernel and distro to distro.
TYL,
Hi Scott,
while much of what you say is true you somehow could lead unaware users to the conclusion that docker and lxc are two very different container technologies.
In fact, docker uses lxc for containers. So it's more a management abstraction layer with an API.
Nevertheless for true and secure containerization you'll need openvz atm, sadly it's not in the kernel yet.
Dear Colleagues:
Thanks a lot, for your replies, my boss is a big fan of lxc, but I have read many forums, and what I perceive is rhel7 -> docker, centos7 ---> openvz
With great difficulty, I managed a container with virt-manager, I even noticed a bug when trying to create a bridge.
Conclusion, as we want to use a container operating system is better to use openvz, now is there interfaces that allow a user no expert reserve resources such as memory, cpu, etc without going to browse cgroups?
Thanks in advance
-Pablo
On Wed, Jul 16, 2014 at 4:13 AM, Sven Kieske S.Kieske@mittwald.de wrote:
Hi Scott,
while much of what you say is true you somehow could lead unaware users to the conclusion that docker and lxc are two very different container technologies.
In fact, docker uses lxc for containers. So it's more a management abstraction layer with an API.
Nevertheless for true and secure containerization you'll need openvz atm, sadly it's not in the kernel yet.
-- Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt
Greetings,
----- Original Message -----
Thanks a lot, for your replies, my boss is a big fan of lxc, but I have read many forums, and what I perceive is rhel7 -> docker, centos7 ---> openvz
With great difficulty, I managed a container with virt-manager, I even noticed a bug when trying to create a bridge.
Conclusion, as we want to use a container operating system is better to use openvz, now is there interfaces that allow a user no expert reserve resources such as memory, cpu, etc without going to browse cgroups?
Just to clarify, the OpenVZ kernel runs fine on RHEL(5&6) too. In fact I have a couple of RHEL hosts running OpenVZ.
So far as resource management goes, in the EL6-based OpenVZ kernel, vSwap-based configuration/management is preferred whereas in the EL5-based kernel (which OpenVZ is EOL'ing in Oct. I think), user_beancounters are what you have. vzctl's resource management facilities do what the vast majority of container users need.
vzctl-core is available for non-OpenVZ kernels but it is missing quite a few features compared to when run on an OpenVZ-based kernel. See: https://wiki.openvz.org/Vzctl_for_upstream_kernel I don't think it is well tested on upstream kernels.
TYL,
Greetings,
----- Original Message -----
while much of what you say is true you somehow could lead unaware users to the conclusion that docker and lxc are two very different container technologies.
In fact, docker uses lxc for containers. So it's more a management abstraction layer with an API.
Nevertheless for true and secure containerization you'll need openvz atm, sadly it's not in the kernel yet.
Docker dropped LXC with version 0.6 or was it 1.0? They have their own library that they use now. Since I can't remember what version they switched, nor what version Red Hat has in RHEL7 (I'll leave it as an exercise for the reader)... perhaps the Docker currently shipping with RHEL7 still uses LXC?!?
The bulk of OpenVZ will never make it into the kernel although the Parallels kernel devs do try to integrate existing kernel features into OpenVZ (so the patch becomes smaller over time) as well as getting bits and pieces into the kernel or into userland (criu for example).
I wonder how much change OpenVZ will undergo in the port to the RHEL7 kernel... where considerable container building blocks are already part of the kernel.
TYL,
Am 16.07.2014 15:16, schrieb Scott Dowdle:
Docker dropped LXC with version 0.6 or was it 1.0? They have their own library that they use now.
This is not correct, or the docker docs are out of date:
"Docker combines these components into a wrapper we call a container format. The default container format is called libcontainer.Docker also supports traditional Linux containers using LXC." Source:[1]
[1]https://docs.docker.com/introduction/understanding-docker/#the-underlying-te...
Greetings,
----- Original Message -----
Am 16.07.2014 15:16, schrieb Scott Dowdle:
Docker dropped LXC with version 0.6 or was it 1.0? They have their own library that they use now.
This is not correct, or the docker docs are out of date:
"Docker combines these components into a wrapper we call a container format. The default container format is called libcontainer.Docker also supports traditional Linux containers using LXC." Source:[1]
[1]https://docs.docker.com/introduction/understanding-docker/#the-underlying-te...
Yes, if you read that it says the default container format is called "libcontainer". It "also supports" LXC. Originally it was LXC only. Then they switched to libcontainer... but they say they support several formats (including OpenVZ although I haven't seen any elaboration as to how) and plan to add more in the future.
Docs that were written before the move to libcontainer (and in all honesty, I'm not really sure what libcontainer is vs. LXC) won't mention it. Everything after the move, should mention it.
For more information about libcontainer... and it was the 0.9 release of Docker that announced it (not 0.6 nor 1.0 as I had previously guessed)... can be found here:
http://blog.docker.com/2014/03/docker-0-9-introducing-execution-drivers-and-...
TYL,
Greetings again,
----- Original Message -----
Am 16.07.2014 15:16, schrieb Scott Dowdle:
Docker dropped LXC with version 0.6 or was it 1.0? They have their own library that they use now.
This is not correct, or the docker docs are out of date:
"Docker combines these components into a wrapper we call a container format. The default container format is called libcontainer.Docker also supports traditional Linux containers using LXC." Source:[1]
[1]https://docs.docker.com/introduction/understanding-docker/#the-underlying-te...
For anyone not willing to take the time to visit the Docker 0.9 release blog post, here's a snippet from it:
"Thanks to libcontainer, Docker out of the box can now manipulate namespaces, control groups, capabilities, apparmor profiles, network interfaces and firewalling rules – all in a consistent and predictable way, and without depending on LXC or any other userland package. This drastically reduces the number of moving parts, and insulates Docker from the side-effects introduced across versions and distributions of LXC."
Is that more clear?
TYL,
Dear Colleagues:
There is documentation, step by step, how to use VLAN tagged and bonding?,I installed openvz + a web administration panel, honestly I find much less to work with lxc craft works very well ..
Thanks in advance -Pablo
On Wed, Jul 16, 2014 at 11:24 AM, Scott Dowdle dowdle@montanalinux.org wrote:
Greetings again,
----- Original Message -----
Am 16.07.2014 15:16, schrieb Scott Dowdle:
Docker dropped LXC with version 0.6 or was it 1.0? They have their own library that they use now.
This is not correct, or the docker docs are out of date:
"Docker combines these components into a wrapper we call a container format. The default container format is called libcontainer.Docker also supports traditional Linux containers using LXC." Source:[1]
[1]
https://docs.docker.com/introduction/understanding-docker/#the-underlying-te...
For anyone not willing to take the time to visit the Docker 0.9 release blog post, here's a snippet from it:
"Thanks to libcontainer, Docker out of the box can now manipulate namespaces, control groups, capabilities, apparmor profiles, network interfaces and firewalling rules – all in a consistent and predictable way, and without depending on LXC or any other userland package. This drastically reduces the number of moving parts, and insulates Docker from the side-effects introduced across versions and distributions of LXC."
Is that more clear?
TYL,
Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org http://lists.centos.org/mailman/listinfo/centos-virt