I have a particular distribution based on CentOS 7 that I would like to turn into a LXD container. The post from Stephane Graber here below has a section titled Manually building an image, but it gives some pretty generic steps that I'm not entirely familiar with. I'm hoping someone could point me in the right direction.

1. Generate a container filesystem. This entirely depends on the distribution you’re using. For Ubuntu and Debian, it would be by using debootstrap.

If anyone has an documentation on "Generating a container filesystem", I'm all ears. Specifically pertaining to CentOS 7 would be great.

Could I just create a tarball of / ?

2. Configure anything that’s needed for the distribution to work properly in a container (if anything is needed).

How would I know if a distribution needs any special attention?

From there on, the process seems pretty straight forward.
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to