lxc-create работает без ошибок, создается файловая система zfs, но контейнер не создается

Я пытаюсь выполнить lxc в первый раз, следуя https://help.ubuntu.com/lts/serverguide/lxc.html и страницам man.

Выполняется команда lxc-create без ошибок, и создает файловую систему zfs /lxc/u1, установленную на /lxc/u1/rootfs.

root@Ubuntu-1604-xenial-64-minimal ~ # lxc-create -t download --bdev zfs --lxcpath=/lxc -n u1 -- --dist ubuntu --release xenial --arch amd64 
Setting up the GPG keyring
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs

---
You just created an Ubuntu container (release=xenial, arch=amd64, variant=default)

To enable sshd, run: apt-get 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.
root@Ubuntu-1604-xenial-64-minimal ~ # lxc-ls --fancy
root@Ubuntu-1604-xenial-64-minimal ~ # zfs list
NAME     USED  AVAIL  REFER  MOUNTPOINT
lxc      390M  1.27T    20K  /lxc
lxc/u1   389M  1.27T   389M  /lxc/u1/rootfs
root@Ubuntu-1604-xenial-64-minimal ~ # 

Почему lxc-ls не показывает u1?

Что я сделал не так?

1
задан 10 February 2017 в 16:07

0 ответов

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

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