由此看出,当前 iSulad 是不支持 randisk 的,而且也不支持给 runc 传参。
不知道是不是我搞错了什么,请各位大佬有空指教下
不关联里程碑
Hi alost, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @lifeng_isula , @haozi007 , @jingxiaolu , @JingWoo
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
@zhangxiaoyu 验证一下
DOCKER_RAMDISK
The “DOCKER_RAMDISK” variable makes Docker work when root is on a ramdisk.
$ export DOCKER_RAMDISK=true
What you need to know:
If set, this will disable ‘pivot_root’.
If set, Docker uses “chroot.”
Read this discussion of how Docker could be run in memory. (@StackOverflow) Here’s a handy list of commands from TekSlate. (@Tekslate)
runtime-args中设置的参数将作用于runc的所有子命令,而不会仅传递给runc的特定子命令,目前iSulad暂时还不支持给runc的特定子命令传参。
get_runtime_cmd 和 runtime_exec_param_init 这里构造的参数顺序对于 runc 是错的,变成 runc --no-pivot start/run/xxx,runc 会不识别报错。
这里是不能够将--no-pivot参数放在daemon.json里面传给runc的。runtime-args是对整个runtime的参数配置而非对start/run/xx这些子命令的配置。例如针对kata runtime的配置--kata-config=xxx,目前也仅支持安全容器kata的自定义运行时
目前不支持对runc参数配置,可以考虑加入路标
/close
@zhangxiaoyu you can't close an issue unless you are the author of it or a collaborator.
/close
登录 后才可以发表评论