ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander <alxste@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] непривелегированный контейнер lxc - как создать и запустить?
Date: Fri, 30 Sep 2016 13:41:12 +0300
Message-ID: <81f25773-ab05-28d4-c30b-b8575510771f@yandex.ru> (raw)
In-Reply-To: <38c809c5-025f-492b-6231-67e840a6c993@yandex.ru>

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/



С уважением, Александр


      parent reply	other threads:[~2016-09-30 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-24 19:51 Alexander
2016-09-24 23:42 ` Dmitry V. Levin
2016-09-25  6:29   ` Alexander
2016-09-25 21:13     ` Mikhail Efremov
2016-09-26  6:29       ` Alexander
2016-10-07 20:14       ` Alexander
2016-10-07 20:38         ` Anton Gorlov
2016-10-07 21:22           ` Alexander
2016-10-07 23:19         ` Mikhail Efremov
2017-03-07 19:30           ` Mikhail Efremov
2016-09-30 10:41 ` Alexander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81f25773-ab05-28d4-c30b-b8575510771f@yandex.ru \
    --to=alxste@yandex.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git