similar to: Private network for LXC

Displaying 20 results from an estimated 8000 matches similar to: "Private network for LXC"

2014 Jul 02
2
Re: configuring a lxc guest to run 32bits from a 64bits host under libvirt-lxc
On Wed, Jul 02, 2014 at 12:56:18AM +0200, Thierry Parmentelat wrote: > Hi again > > Answering my own e-mail on a few points: > > . first off, stupid me, http://libvirt.org/format.html indeed is empty and it seems to be by design, but the subtrees are not, like e.g. > http://libvirt.org/formatdomain.html > > . from this page it seems like using something like >
2014 Jan 29
2
dropping capabilities in lxc containers
Hi there I’m not quite proficient with libvirt yet, and have been using it so far primarily to manage lxc containers I was hoping to find a means to configure the set of capabilities that guests should drop, but came across a few web pages suggesting these were set in stone in the code is this correct, or is there a means to tweak this set from the host via the xml config or a virsh command ?
2013 Oct 30
2
libvirt-lxc driver on armv7l
Hi there, I'm interested in using libvirt-lxc on armv7l architecture and I have a hard time building libvirt. 1. Are there any prebuild rpms for ARM? 2. I have many dependency issues during build: error: *** Error Summary *** === the following packages failed to build due to missing build dependencies === libvirt: nothing provides hal-devel nothing provides
2014 Mar 26
2
LXC + passthrough mount and host filesystem-cache
Hello, I'm using libvirt to build/run LXC instances. My LXC instances use passthrough filesystem mounts. When I try to do large file systems operations (ex tar or rsync) the file systems cache on the host spikes and causes the OOM handler to run and kills processes in the LXC. Has anyone else seen this? Is there a way around this? At this point I'm resorting to running a cron job that
2015 Apr 10
3
LXC and syslog seperation (/dev/log)
Hello, I'm seeing syslog messages "bleed" from the host and other LXC into the messages, maillog, secure logs of other LXCs. I'm using libvirt 1.0.0 on a host with systemd and kernel 3.9.10. Each LXC is running an older non-systemd linux distribution Is this a known issue? Is there a work around? Thank you for you time, Jim -- James R. Leu | Director of Technology | INOC
2014 Mar 06
1
How to enable mount loop device in LXC using libvirt LXC driver
When I try to mount loop device in a linux container, I got the following error message: mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.) I wonder how to enable mount loop device in LXC using libvirt LXC driver? -- Thanks! Du Jun
2014 Jan 29
1
Re: dropping capabilities in lxc containers
Thanks for the feedback I take it from your answer that there is no current plan in the direction of adding this as a feature, right ? In this case, how would you welcome pull requests if we managed to add this on our side ? Many thanks — Thierry On 29 Jan 2014, at 14:27, Daniel P. Berrange <berrange@redhat.com> wrote: > On Wed, Jan 29, 2014 at 09:43:25AM +0100, Thierry Parmentelat
2013 Oct 31
1
Re: libvirt-lxc driver on armv7l
Oh, sorry. I try to build libvirt on Tizen, with gbs. Unfortunately Tizen doesn't have the packages from the "snip list of rpms":) I tried to install dependencies from http://ftp.pbone.net/pub/fedora/linux/development/20/armhfp/os/Packages/ but that just doesn't work... Thanks! Jan -----Original Message----- From: Daniel P. Berrange [mailto:berrange@redhat.com] Sent:
2014 Mar 06
1
Fail to convert LXC container configuration into a domain XML fragment
Hi, all, I used lxc-tools to create a linux container. I am trying to transfrom LXC container configuration into a domain XML fragment using the following command: *$ virsh -c lxc:/// domxml-from-native lxc /var/lib/lxc/my_conatiner/config* However, I get the error message, error: this function is not supported by the connection driver: virConnectDomainXMLFromNative It seems that
2011 Dec 05
1
libvirt and LXC
Hi there, I'm fairly new to libvirt and LXC, please forgive my ignorance. I was looking for a graphical tool to manage LXC containers and noticed that libvirt has support for LXC. Actually, I expected libvirt to be able to display and manage LXC hosts much like KVM. But it does not happen this way. The only thing I can see with virsh/virt-manager is storage pool with LXC containers, but not
2010 Feb 03
1
[libvirt] [LXC] Tyring to locate livbvirt operations for LXC relocation
Hello, I am searching for the libvirt operations for relocating LXC (system or application) containers. LXC relocation mechanism is done by checkpoint / restart. I went over libvirt API documentation and found the following methods: virDomainSave that receives a domain and path to state file. The method saves domain's memory contents into a disk file. virDomainRestore that receives a domain
2013 Jul 23
2
Is there any document about the feauture and usage of lxc supported by libvirt?
Hi Guys, Recently, I'm doing some tests on openstack with lxc virtualization supported by libvirt. I need some recently new documents about libvirt lxc. Anything related is just ok. Thanks! -------------- Best regards! GuanQiang 2013-07-23
2015 Dec 22
1
Setting environment variables for LXC Containers
Hello Is there a way to set custom environment variables for LXC containers so that it is available for all processes within the container? The libvirt-lxc driver seems to be setting up only the below variables (as per the docs), but there doesn't seem to be a way customize it. containerThe fixed string libvirt-lxc to identify libvirt as the creator container_uuidThe UUID assigned to the
2015 Sep 08
2
How to ifup nic automaticly after hotplug nic for lxc
Hi experts, When I hotplug nic into lxc, the nic in lxc seemed to be down status as following: 1224: vnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether fa:16:3e:fc:e5:96 brd ff:ff:ff:ff:ff:ff It seems mechanism such as udev is needed here. But I found udev is not supported well in lxc. So how can I get a 'up' nic after hotplug into lxc ? Very
2013 Jul 31
1
Fail to destroy lxc container: internal error Some container PIDs refused to die
Hey guys, When I destroy a lxc container, It reported an error with details as following: root@debian:~$ vir destroy 901eef81-06b2-4252-aeef-53b87c402585 error: Failed to destroy domain 901eef81-06b2-4252-aeef-53b87c402585 error: internal error Some container PIDs refused to die root@debian:~$ vir version Compiled against library: libvirt 1.1.0 Using library: libvirt 1.1.0 Using API: LXC
2013 Oct 31
1
libvirt-lxc without libvirt
Hi there! 1. Is it possible to build libvirt-lxc driver without building libvirt? How do I do it? 2. Do I understand it correctly, that I can use libvirt-lxc as a substitute of lxc? Thanks, Jan
2014 Jan 20
2
LXC configuration for Systemd in the user namespace.
Hi there! Does anyone have a config file for libvirt-LXC, that makes it possible to: 1. Use all namespaces (user namespace in particular) 2. Run systemd inside a container. Thanks! Jan
2011 Dec 07
1
lxc capabilities
I'm experimenting with the libvirt lxc driver, and wondering if there is some way to control the capabilities assigned to the container processes. With lxc-tools, I can specify a configuration option, lxc.cap.drop, which causes the container processes to drop the specified privileges. My libvirt containers seem to run with
2016 Feb 23
2
Libvirt-lxc packages deprecation
Folks, I found this thread <https://www.redhat.com/archives/libvirt-users/2015-August/msg00026.html>that talks about deprecating libvirt-lxc packages [1] [2] [3] in RHEL7.1. I am using [1] as a dependency for my application deployed on RHEL7.2 servers. For now it works fine but I am not sure about the future RHEL releases. The plan of deprecation was delayed or cancelled? Can someone
2011 Dec 07
3
lxc errors on 0.9.7
I'm testing 0.9.7 now with lxc, and get the following error when trying to start a container: 2011-12-07 22:49:26.293: 1997: error : lxcControllerRun:1158 : unsupported configuration: Expected exactly one TTY fd My configuration is very simply: <domain type='lxc'> <name>hw</name> <uuid>38320e75-1ba0-d85a-6138-532a3a66f13d</uuid>