[Comm] непривелегированный контейнер lxc - как создать и запустить?
Alexander
alxste на yandex.ru
Пт Сен 30 13:41:12 MSK 2016
24.09.2016 22:51, Alexander пишет:
> Доброй ночи!
>
> Пытаюсь запустить непривилегированный lxc-контейнер (root контейнера -
> обычный пользователь хоста).
> Руководствовался вот этой статьей -
--
Создать контейнер удалось. Но при попытке запустить контейнер ругается:
lxc-start -n u2 --logfile=u21.log
lxc-start: tools/lxc_start.c: main: 344 The container failed to start.
lxc-start: tools/lxc_start.c: main: 346 To get more details, run the
container in foreground mode.
lxc-start: tools/lxc_start.c: main: 348 Additional information can be
obtained by setting the --logfile and --logpriority options.
bash-3.2$ cat u21.log
lxc-start 20160930132944.079 ERROR lxc_cgfs -
cgroups/cgfs.c:lxc_cgroupfs_create:897 - Could not set clone_children to
1 for cpuset hierarchy in parent cgroup.
lxc-start 20160930132944.079 ERROR lxc_cgfs -
cgroups/cgfs.c:cgroup_rmdir:209 - Read-only file system - cgroup_rmdir:
failed to delete /sys/fs/cgroup/hugetlb/
С уважением, Александр
Подробная информация о списке рассылки community