Hi, this mailing list seems to be appropriate for beginners questions like the following. Hope, that's the case.
I am running a CentOS 6.7 VM on VirtualBox with LXC 1.0.8 installed from the EPEL repository. I am creating an LXC container, but cannot start it, because some problems with the network (see below). Most likely, my network configuration is not correct. ifconfig shows three interfaces to be present ("eth0", "eth1", and "lo"). What might be wrong? Or, what to try next? Thanks, Jochen [jwi@lxc ~]$ sudo cat /etc/lxc/lxc-usernet jwi eth0 lxcbr0 10 jwi@lxc ~]$ sudo rm -rf /var/lib/lxc/centos6/ [sudo] password for jwi: [jwi@lxc ~]$ sudo lxc-create -t download -n centos6 -- -d centos -r 6 -a amd64 Using image from local cache Unpacking the rootfs --- You just created a CentOS container (release=6, arch=amd64, variant=default) To enable sshd, run: yum install openssh-server For security reason, container images ship without user accounts and without a root password. Use lxc-attach or chroot directly into the rootfs to set a root password or create user accounts. [jwi@lxc ~]$ sudo lxc-start -n centos6 lxc-start: conf.c: instantiate_veth: 3105 failed to attach 'veth47FB4Q' to the bridge 'virbr0': No such device lxc-start: conf.c: lxc_create_network: 3388 failed to create netdev lxc-start: start.c: lxc_spawn: 841 failed to create the network lxc-start: start.c: __lxc_start: 1100 failed to spawn 'centos6' lxc-start: lxc_start.c: main: 341 The container failed to start. lxc-start: lxc_start.c: main: 345 Additional information can be obtained by setting the --logfile and --logpriority options. -- The next time you hear: "Don't reinvent the wheel!" http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users