lxd和simplestream相关资料
2017-03-28 09:14
387 查看
REF
1
https://blog.sourcecode.de/how-to-create-lxd-containers-with-ansible-2-2/
创建lxd的过程
2 simplestreams的主页
https://code.launchpad.net/~simplestreams-dev/simplestreams/trunk
3(TL一种linux)如何搭建simplestreams服务器
https://www.turnkeylinux.org/forum/general/20160708/lxd-image-server
4
怎么搭建simplestreams服务器
https://github.com/lxc/lxd/issues/1581#issuecomment-254677758
it's likely that providing a simplestreams server may be easier since it's also entirely static and just needs a bunch of json files to be placed at the right location.
Note however that whichever way you go, LXD only supports https, so you will need an https enabled web server (though with letsencrypt, it's pretty easy to get nowadays).
You can look at the simplestreams bits of our image server here:
https://images.linuxcontainers.org/streams/v1/index.json
https://images.linuxcontainers.org/streams/v1/images.json
If you publish those two files at /streams/v1/ on your image server and publish information about your image in the same format we are, you'll then be able to add this as an image server to LXD with:
And then interact with it through the usual LXD commands.
5 官方的搭建simplestreams理论
https://insights.ubuntu.com/2016/04/01/lxd-2-0-image-management-512/
The “ubuntu:” and “ubuntu-daily:” remotes aren’t using the LXD protocol (“images:” is), those are instead using a different protocol called simplestreams.
simplestreams is basically an image server description format, using JSON to describe a list of products and files related to those products.
It is used by a variety of tools like OpenStack, Juju, MAAS, … to find, download or mirror system images and LXD supports it as a native protocol for image retrieval.
While certainly not the easiest way to start providing LXD images, it may be worth considering if your images can also be used by some of those other tools.
1
https://blog.sourcecode.de/how-to-create-lxd-containers-with-ansible-2-2/
创建lxd的过程
- name: Create LXD Container connection: local become: false lxd_container: name: "{{item}}" state: started source: type: image mode: pull server: https://cloud-images.ubuntu.com/releases protocol: simplestreams alias: 16.04/amd64 profiles: ['default'] wait_for_ipv4_addresses: true timeout: 600 with_items: - "{{groups['containers']}}"
2 simplestreams的主页
https://code.launchpad.net/~simplestreams-dev/simplestreams/trunk
3(TL一种linux)如何搭建simplestreams服务器
https://www.turnkeylinux.org/forum/general/20160708/lxd-image-server
4
怎么搭建simplestreams服务器
https://github.com/lxc/lxd/issues/1581#issuecomment-254677758
it's likely that providing a simplestreams server may be easier since it's also entirely static and just needs a bunch of json files to be placed at the right location.
Note however that whichever way you go, LXD only supports https, so you will need an https enabled web server (though with letsencrypt, it's pretty easy to get nowadays).
You can look at the simplestreams bits of our image server here:
https://images.linuxcontainers.org/streams/v1/index.json
https://images.linuxcontainers.org/streams/v1/images.json
If you publish those two files at /streams/v1/ on your image server and publish information about your image in the same format we are, you'll then be able to add this as an image server to LXD with:
lxc remote add turnkey https://your-server.com --protocol=simplestreams
And then interact with it through the usual LXD commands.
5 官方的搭建simplestreams理论
https://insights.ubuntu.com/2016/04/01/lxd-2-0-image-management-512/
The “ubuntu:” and “ubuntu-daily:” remotes aren’t using the LXD protocol (“images:” is), those are instead using a different protocol called simplestreams.
simplestreams is basically an image server description format, using JSON to describe a list of products and files related to those products.
It is used by a variety of tools like OpenStack, Juju, MAAS, … to find, download or mirror system images and LXD supports it as a native protocol for image retrieval.
While certainly not the easiest way to start providing LXD images, it may be worth considering if your images can also be used by some of those other tools.
相关文章推荐
- Python相关资料收集
- 一个Python用户的天文相关Python资料收集
- TensorFlow及深度学习相关资料积累汇总【不定期更新】
- 腾讯面试相关资料
- UPnP的相关资料_整理
- VS2013相关资料
- 3D-HEVC/HTM相关资料下载
- AJAX相关资料
- 关于多个类实现同一个接口的相关资料
- Selenium相关资料收集 [转]
- 自动布局相关资料
- 纹理 、 美术、模型相关资料
- 人脸检测相关资料合集
- 云计算相关资料
- Bootloader的概述及相关资料
- L4相关资料
- Compiere相关的资料收录
- SD2C大会,JavaScript + Delphi + ErLang 讲演相关资料完全公开!
- 转帖-----我的WinCE5.0入门全过程,为了方便后来者,写了一天多,仅供大家参考!(开发环境建立+流驱动开发+相关资料)
- weblogic配置和调优的相关资料