Ошибка при создании контейнера lxc на Ubuntu 16.0.4LTS 32bit

Я запускаю 32-разрядный 16-разрядный Ubuntu.

> cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

> uname -a
Linux manik 4.4.0-36-generic #55 SMP Tue Sep 13 15:51:05 PDT 2016 i686 i686 i686 GNU/Linux

Я установил пакет lxc через followng:

sudo apt-get install lxc

После этого я создал config file для unprivileged container в ~/.config/lxc/default.conf как:

lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
lxc.network.type = veth
lxc.network.link = lxcbr0

Я попытался создать непривилегированный контейнер, но получил ошибки:

lxc-create -t download -n game_container -l DEBUG -o /tmp/lxc-create -- --no-validate -d ubuntu -r xenial -a i386
Downloading the image index
ERROR: Failed to download http://images.linuxcontainers.org//meta/1.0/index-user
lxc-create: lxccontainer.c: create_run_template: 1290 container creation template for game_container failed
lxc-create: tools/lxc_create.c: main: 318 Error creating container game_container

Я посмотрел файл журнала /tmp/lxc-create, и у него были следующие записи:

     lxc-create 20160914131038.765 INFO     lxc_confile - confile.c:config_idmap:1500 - read uid map: type u nsid 0 hostid 100000 range 65536
     lxc-create 20160914131038.765 INFO     lxc_confile - confile.c:config_idmap:1500 - read uid map: type g nsid 0 hostid 100000 range 65536
     lxc-create 20160914131038.876 INFO     lxc_confile - confile.c:config_idmap:1500 - read uid map: type u nsid 0 hostid 100000 range 65536
     lxc-create 20160914131038.876 INFO     lxc_confile - confile.c:config_idmap:1500 - read uid map: type g nsid 0 hostid 100000 range 65536
     lxc-create 20160914131052.728 ERROR    lxc_container - lxccontainer.c:create_run_template:1290 - container creation template for game_container failed
     lxc-create 20160914131052.732 INFO     lxc_container - lxccontainer.c:container_destroy:2387 - Destroyed rootfs for game_container
     lxc-create 20160914131052.735 INFO     lxc_container - lxccontainer.c:container_destroy:2403 - Destroyed directory for game_container
     lxc-create 20160914131052.735 ERROR    lxc_create_ui - tools/lxc_create.c:main:318 - Error creating container game_container

Любая идея, что здесь происходит? Есть ли что-то, что я делаю неправильно?

1
задан 14 September 2016 в 23:20

0 ответов

Другие вопросы по тегам:

Похожие вопросы: