128 Star 0 Fork 34

src-openEuler / podman

 / 详情

[22.09RC1 arm/x86] podman export -o redis-container.tar id 提示archive/tar: sockets not supported

已验收
缺陷
创建于  
2022-08-17 09:44

【环境信息】
软件信息:
NAME="openEuler"
VERSION="22.09"
ID="openEuler"
VERSION_ID="22.09"
PRETTY_NAME="openEuler 22.09"
ANSI_COLOR="0;31"

podman版本:podman-3.4.4-1.oe2209.aarch64

【问题复现步骤】

  1. 安装包 podman,podman-docker
  2. 修改配置文件
    echo -e "[registries.search]
    registries = ['docker.io']
    [registries.insecure]
    registries = []

[registries.block]
registries = []
" >/etc/containers/registries.conf
3. podman pull postgres:alpine
4. podman run --name postgres -e POSTGRES_PASSWORD=secret -d postgres:alpine
5. podman export -o redis-container.tar $(podman ps -aq)
【预期结果】
导出成功
【实际结果】
报错 archive/tar: sockets not supported
【附件信息】
输入图片说明

评论 (4)

clerk_duan 创建了缺陷

Hi duanxuemin, 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: sig-CloudNative, and any of the maintainers: @weibaohui , @biannm , @pixiake , @haozi007 , @haomintsai , @yangzhao_kl , @Jianmin

openeuler-ci-bot 添加了
 
sig/sig-CloudNative
标签
clerk_duan 负责人设置为yangzhao_kl
clerk_duan 计划截止日期设置为2022-08-18
clerk_duan 计划开始日期设置为2022-08-17
clerk_duan 计划截止日期2022-08-18 修改为2022-08-19
clerk_duan 优先级设置为次要

@clerk_duan 麻烦依照该issue描述尝试添加 --tmpfs 参数进行测试
https://github.com/containers/podman/issues/4775

使用

podman run --name postgres --tmpfs /run -e POSTGRES_PASSWORD=secret -d postgres:alpine

创建容器后执行

podman export -o redis-container.tar $(podman ps -aq)

结果正常

yangzhao_kl 任务状态待办的 修改为已完成
clerk_duan 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936 7757630 yangzhao kl 1612233784
1
https://gitee.com/src-openeuler/podman.git
git@gitee.com:src-openeuler/podman.git
src-openeuler
podman
podman

搜索帮助