It's really a good question and I expect some real expert explain it.

I did it from scratch before ,basically I copied file from  /,ignore files
like device nodes, sockets, and do debugging if needed .

2017年4月26日 下午10:40,"Spike" <[email protected]>寫道:

> yeah I've seen that link before and used the lxd image publish / export
> approach (it's what I'm doing right now in fact). However that post isn't
> very clear on what it takes to start from scratch. There is a section on
> "Manually building an image", but the critical step (2), says: "Configure
> anything that’s needed for the distribution to work properly in a container
> (if anything is needed)." and that's really what I'm asking here.
>
> Because I have everything set up with a fair amount of "magic" to pxe boot
> and configure bare metal and KVM instances, I'd like to use that process
> and avoid having to write more to create the rootfs.
>
> So maybe a better question would be, given a qcow2 (or raw) image created
> with kvm, what are the necessary steps to convert that so that it can be
> used inside a container? that said having the same steps starting from
> debootstrap could be handy.
>
> hope that clarifies my intention and situation.
>
> thanks,
>
> Spike
>
> On Wed, Apr 26, 2017 at 7:17 AM Matlink <[email protected]> wrote:
>
>> https://stgraber.org/2016/03/30/lxd-2-0-image-management-512/
>>
>> Le 26/04/2017 à 16:15, Spike a écrit :
>>
>> Dear all,
>>
>> long story short, I'd love to roll my own image starting from a standard
>> mini.iso, ie not a cloud image (happy to expand on the reasoning if there's
>> interest, but otherwise keeping it short).
>>
>> can somebody provide a list of steps in order to achieve that?
>>
>> thanks,
>>
>> Spike
>>
>>
>> _______________________________________________
>> lxc-users mailing 
>> [email protected]http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>>
>> _______________________________________________
>> lxc-users mailing list
>> [email protected]
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
> _______________________________________________
> lxc-users mailing list
> [email protected]
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to