仓库的podman默认使用vfs文件系统,是不是需要改为fuse-overlayfs #4621
pmzgit
started this conversation in
Developer Discussion | 开发者讨论
Replies: 4 comments 8 replies
-
cc @black-desk |
Beta Was this translation helpful? Give feedback.
0 replies
-
v23的kernel是比较新的 照理来说podman应该是会直接使用内核中的overlayfs才对 我不确定你说的vfs driver是啥 我之后会确认一下 |
Beta Was this translation helpful? Give feedback.
6 replies
-
rootless 模式无法用内核 overlayfs,只能走 fuse,所以需要 fuse-overlayfs。可以考虑打包(如果还没有的话)+ Recommends |
Beta Was this translation helpful? Give feedback.
1 reply
-
在v23的环境上看了一下。 podman 应该使用内核提供的rootless overlayfs, 但是实际上并没有用上。 storge driver 确实是vfs。 需要进一步看一下内核的配置和podman没有使用这个特性的具体原因。 debian sid 的行为和deepin v23一致。估计是什么内核的config没开。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v23 使用distrobox+podman 提供v20兼容方案,说实话比较推荐,至少我之前使用distrobox时,一直没找到deepin的镜像,现在docker hub上已经有 v20 和v23的镜像了,好评
但是v23 安装好podman时,默认使用vfs作为联合文件系统,其实podman rootless模式不推荐,应该使用 fuse-overlayfs
podman/rootless_tutorial.md at main · containers/podman · GitHub
所以不知道如下命令,官方如何搞定rootless模式
sudo apt install deepin-compatibility-mode
我已经讲vfs替换成 fuse-overlayfs,并用如下命令启动v20容器
distrobox create -i dockerproxy.com/linuxdeepin/apricot:v20.8-compatible -n deepin-v20 -v
不知道后期官方是不是优化dcm包
Beta Was this translation helpful? Give feedback.
All reactions