Linux Containers MarketPlace¶
Linux Containers image server hosts a public image server for use by LXC and LXD. It is the default image server on LXD.
OpenNebula’s linuxcontainers marketplace enables users to easily download, contextualize and add Linux Container’s images to an OpenNebula’s image datastore. Linux Containers images are compressed .tar.xz files. In order to use them, this marketplace creates an image, where it dumps the content and later uploads it to OpenNebula. The marketplace will automatically take care of downloading the correct context package for your image and installing it inside the container. The marketplace also creates a VM template with a set of required values and usability ones.
Several parameters can be specified on the marketplace’s template:
||The URL of the Market. Default: https://images.linuxcontainers.org|
||Size in MB for the image holding the rootfs. Default: 1024|
||Filesystem used for the image. Default: ext4|
||Image format. Default: raw|
The OpenNebula frontend already ships with a configured LXD marketplace.
The following template will create a working marketplace with the default values:
NAME="Linux Containers" MARKET_MAD="linuxcontainers" DESCRIPTION="MarketPlace for the public image server fo LXC at linuxcontainers.org"
Save this contents on a file (e.g. lxcmarket) and create the market with:
onemarket create lxcmarket
You can also use Sunstone and input the previous values through the UI.