LXD has several repositories with container images. You can view them with lxc remote list
, and can also add more. The two main repositories are ubuntu:
(Ubuntu container images) and images:
(All Linux distro container images).
You can view the available container images in a repository by running
lxc image list ubuntu:
lxc image list images:
Or, you can visit https://us.images.linuxcontainers.org/ which is for the images:
repository.
Is there an armhf
Centos container image?
$ lxc image list images: | grep -i centos
| centos/6 (3 more) | 0c58b11b5b09 | yes | Centos 6 amd64 (20181001_02:16) | x86_64 | 75.55MB | Oct 1, 2018 at 12:00am (UTC) |
| centos/6/i386 (1 more) | f4429bcfecd7 | yes | Centos 6 i386 (20181001_02:16) | i686 | 75.79MB | Oct 1, 2018 at 12:00am (UTC) |
| centos/7 (3 more) | ef3eb4858610 | yes | Centos 7 amd64 (20181001_02:16) | x86_64 | 83.47MB | Oct 1, 2018 at 12:00am (UTC) |
| | 73ec6f345004 | yes | Centos 7 amd64 (20180930_02:16) | x86_64 | 83.47MB | Sep 30, 2018 at 12:00am (UTC) |
| | 81fc08951237 | yes | Centos 6 i386 (20180929_02:16) | i686 | 75.79MB | Sep 29, 2018 at 12:00am (UTC) |
| | 9972b58436eb | yes | Centos 6 amd64 (20180929_02:16) | x86_64 | 75.55MB | Sep 29, 2018 at 12:00am (UTC) |
| | 9cc7f164a566 | yes | Centos 6 amd64 (20180930_02:16) | x86_64 | 75.55MB | Sep 30, 2018 at 12:00am (UTC) |
| | d23e5fb5d0df | yes | Centos 6 i386 (20180930_02:16) | i686 | 75.79MB | Sep 30, 2018 at 12:00am (UTC) |
| | ea1ce9444ef0 | yes | Centos 7 amd64 (20180929_02:16) | x86_64 | 83.47MB | Sep 29, 2018 at 12:00am (UTC) |
So, there is no Centos armhf
container image in images:
.
So, what do you do about this?
The new way to create container images is to use distrobuilder
, found at https://github.com/lxc/distrobuilder/
There are example configuration files for various distributions, including Centos:
There is however an open issue with Centos, that currently does not allow creating Centos armhf container images. I suppose that is what is meant with AltArch
in the issue. I am not sure if there is a general issue with distrobuilder
with any Centos container image, but there is in any case an issue with Centos.
You can subcribe yourself to this issue in order to follow the progress.