Podman_疑难杂症

Error: initial journal cursor: failed to get cursor: cannot assign requested address

编辑 /usr/share/containers/containers.conf

[engine]
log_driver="k8s-file"

doesn't exist, skipping

WARN[0000] Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" doesn't exist, skipping
WARN[0000] Path "/etc/zypp/credentials.d/SCCcredentials" from "/etc/containers/mounts.conf" doesn't exist, skipping

安装 container-suseconnect

zypper install container-suseconnect

创建 pod 失败

创建 pod 时需要 pull 一个 pause 镜像用于 pod ,二 k8s.gcr.io/pause 需要梯子,这时就需要使用加上镜像先 pull 下来,再使用 tag 实现

podman pull registry.aliyuncs.com/google_containers/pause
podman tag registry.aliyuncs.com/google_containers/pause k8s.gcr.io/pause

Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" doesn't exist, skipping

WARN[0016] Path "/etc/SUSEConnect" from "/etc/containers/mounts.conf" doesn't exist, skipping
WARN[0016] Path "/etc/zypp/credentials.d/SCCcredentials" from "/etc/containers/mounts.conf" doesn't exist, skipping

这是SUSE的安全功能,需要安装 container-suseconnect 才能实现