[vpsFree.cz: community-list] LXC kontejnery

Pavel Snajdr snajpa at snajpa.net
Sun Mar 6 09:20:54 CET 2016


Ahoj,

LXC podporovane neni a nevim o tom, ze by to OpenVZ tym mel v planu.

/snajpa

> On 06 Mar 2016, at 01:45, Vašek Chalupníček <vasek.chalupnicek at gmail.com> wrote:
> 
> Ahoj,
> 
> rad bych si pohral s lxc kontejnery, ale koncim na chybach cgroup, zkousel jsem se taky inspirovat v navodu na docker, ale neuspesne.
> 
> Nemate prosim nekdo radu, jak na to? Zkousel jsem Ubuntu 14.04 a Debian 8. Je vubec mozne lxc na vpsfree vyuzivat?
> 
> 
> cisty ubuntu trusty:
> 
> # lxc-start -n trusty
> lxc-start: cgfs.c: cgfs_init: 2246 cgroupfs failed to detect cgroup metadata
> lxc-start: start.c: lxc_spawn: 884 failed initializing cgroup support
> lxc-start: start.c: __lxc_start: 1121 failed to spawn 'trusty'
> ...
> 
> 
> po pridani mountpointu z navodu na docker:
> 
> # lxc-start -n trusty
> lxc-start: cgfs.c: lxc_cgroupfs_create: 841 Could not find writable mount point for cgroup hierarchy 2 while trying to create cgroup.
> lxc-start: cgfs.c: cgroup_rmdir: 207 Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/freezer,devices/
> lxc-start: cgfs.c: cgroup_rmdir: 207 Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/cpu,cpuacct,cpuset/
> lxc-start: start.c: lxc_spawn: 891 failed creating cgroups
> ...
> 
> 
> na cistem debian8:
> 
> # lxc-start -n debian8 
> lxc-start: Could not find writable mount point for cgroup hierarchy 4 while trying to create cgroup.
> lxc-start: Read-only file system - cgroup_rmdir: failed to delete /sys/fs/cgroup/memory/
> lxc-start: Read-only file system - cgroup_rmdir: failed to delete /sys/fs/cgroup/blkio/
> lxc-start: failed creating cgroups
> ...
> 
> 
> Pripadne, neni nekde k dispozici konfigurace kernelu, pro pouziti v prikazu
> 
> # lxc-checkconfig 
> Kernel configuration not found at /proc/config.gz; searching...
> lxc-checkconfig: unable to retrieve kernel configuration
> ...
> ?
> 
> Diky
> Vasek
> _______________________________________________
> Community-list mailing list
> Community-list at lists.vpsfree.cz
> http://lists.vpsfree.cz/listinfo/community-list



More information about the Community-list mailing list