73 Star 336 Fork 169

GVPopenEuler / iSulad

 / 详情

[Feature-request] Smart loading for remote images

已挂起
Requirement member
Opened this issue  
2020-06-03 10:19

Startgz is an index-able format for tar.gz file, which is introduced by Brad Fitzpatrick. It has the great feature on remote items for pulling-smartly-when-needed. With it, the container creating time could be greatly reduced.

It is already supported by containerd and podman/buildah+fuse-overlayfs+crfs-plugin

As discussed on SIG meeting (meeting notes), next are the works should be done (copied from wiki):

isula-build

  • 支持stargz压缩格式
  • 支持标记镜像格式(MediaType或自定义LABEL)
  • 支持将新格式镜像推送到仓库

@Vanient is working on isula-build

isulad

  • 插件机制支持镜像下载hook
    • 增加plugin_event_image_pre_pull_layer()接口
    • 增加plugin_event_image_post_remove_image()接口
  • 支持仅下载元数据并保存成本地镜像
  • 支持通过现有插件替换容器rootfs

@kelhw is working on it.

SLFS(isulad插件)

  • 支持识别镜像是否为SmartLoading格式
  • 与isulad插件RESTFul对接
    • 支持新增插件接口plugin_event_image_pre_pull_layer()中识别镜像格式
    • 支持现有插件接口plugin_event_container_pre_start()中准备并修改容器rootfs
    • 支持现有插件接口plugin_event_container_post_remove()中删除容器rootfs
    • 支持新增插件接口plugin_event_image_post_remove_image()中删除本地镜像缓存
  • fuse文件系统
    • 实现fuse daemon的read()接口
    • 支持从远端镜像下载文件
      • 支持仓库鉴权
    • 支持本地缓存镜像文件
  • 配置
    • 远端仓库配置
      • 支持远端仓库地址配置
      • 支持远端仓库鉴权配置
    • 支持本地缓存路径、块大小等配置

Comments (3)

jingxiaolu created需求
jingxiaolu set related repository to openEuler/iSulad
Expand operation logs

Hey @jingxiaolu , Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot .
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

haomintsai added
 
kind/feature
label
jingxiaolu changed description
jingxiaolu changed description
jingxiaolu changed issue state from 新建 to 开发中

plz assign the task to developers

jingxiaolu changed description

Get the task of isulad and SLFS for the smart loading

haomintsai assigned collaborator haomintsai
haomintsai changed assignee from haomintsai to jingxiaolu
haomintsai unassigned collaborator haomintsai
jingxiaolu assigned collaborator Vanient
jingxiaolu changed description
lifeng_isula changed issue state from 开发中 to 已挂起
Yikun changed description
Yikun changed description

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
Confirm
参与者(5)
5329419 openeuler ci bot 1632792936
C
1
https://git.oschina.net/openeuler/iSulad.git
git@git.oschina.net:openeuler/iSulad.git
openeuler
iSulad
iSulad

Search