拉动容器并将其转换为SystemdNspawn的操作系统树。
ostree的Python项目详细描述
你可以拉一个码头集装箱:
pip install ostree ostree pull python:3.7-alpine ./alpine
使用systemd nspawn运行它:
sudo systemd-nspawn --directory ./alpine python Spawning container alpine on /home/denis/alpine. Press ^] three times within 1s to kill container. Timezone UTC does not exist in container, not updating container timezone. Python 3.7.0 (default, Aug 222018, 20:39:59)[GCC 6.4.0] on linux Type "help", "copyright", "credits" or "license"for more information. >>>
警告
这是阿尔法质量软件。事情本来是要打破的。
支持的注册表
当前支持以下注册表:
- Docker(仅限公共注册)
- google容器注册(公共的,私有的,带有服务帐户和json密钥文件)
要求
- POSIX
- Python3.6+
运行测试
pip install -e '.[test]'
py.test ostree
约定
ostree尽可能地紧跟在PEP8后面。要验证它,请运行:
pip install -e '.[test]'
flake8 ostree
ostree使用Semantic Versioning。
许可证
ostree是根据mit许可证发布的
更改日志
0.1.1(2018-09-07)
- 为ostree_auth、ostree_cache和ostree_协议添加环境变量。 [资源]
0.1.0(2018-09-06)
添加对google容器注册表的支持。 [资源]
实现缓存清除。 [资源]
如果未给出协议,则显示错误。 [资源]
将非根用户的缓存路径更改为
~/.cache/seantis/ostree
。 [资源]
0.0.0(2018-08-24)
- 初次发布。 [资源]