[pve-devel] lxc 1.1 : qcow2 support ?

Alexandre DERUMIER aderumier at odiso.com
Fri Apr 24 08:45:12 CEST 2015


>>Yes, but this is about 'lxc-start', not 'lxc-create'. 

mmm, I'm not familiar with lxc yet.
what does exactly lxc-create ?

from this doc
https://linuxcontainers.org/fr/lxc/manpages/man5/lxc.container.conf.5.html

It's seem also possible to use

lxc.rootfs.mount = nbd:file:myfile.qcow2


does it help ?


----- Mail original -----
De: "dietmar" <dietmar at proxmox.com>
À: "aderumier" <aderumier at odiso.com>
Cc: "pve-devel" <pve-devel at pve.proxmox.com>, "Kamil Trzciński" <ayufan at ayufan.eu>
Envoyé: Vendredi 24 Avril 2015 06:35:42
Objet: Re: [pve-devel] lxc 1.1 : qcow2 support ?

> https://github.com/hmalphettes/ubuntu-uncloud-recloud/blob/master/lxc/lxc-example.conf 
> 
> sudo qemu-nbd -c /dev/nbd0 /path/to/vmdk 
> sudo lxc-start -n myvminlxc -f lxc-example.conf 
> 
> with lxc-example.conf 
> 
> lxc.rootfs = /dev/nbd0p1 

Yes, but this is about 'lxc-start', not 'lxc-create'. 



More information about the pve-devel mailing list