Podman-Docker容器在Linux(RHEL 8)服务器中执行运行命令时尚未启动
在试图在Linux Server(RHEL 8)中运行Podman Docker容器时,面向下面的问题。
warn [0000]错误安装订阅,跳过/usr/share/containers/mounts.conf:获取主机订阅数据:无法从“/usr/share/share/rhel/secrets”读取订阅:open/usr/usr/共享/RHEL/SECRETS/REDHAT.REPO:拒绝许可
执行命令: podman run -d -name redis_server -p 6377:6377 redis
我遵循
?
While trying to run the podman docker container in Linux server (Rhel 8) facing below issue.
WARN[0000] error mounting subscriptions, skipping entry in /usr/share/containers/mounts.conf: getting host subscription data: failed to read subscriptions from "/usr/share/rhel/secrets": open /usr/share/rhel/secrets/redhat.repo: permission denied
Execution command: podman run -d --name redis_server -p 6377:6377 redis
I have followed these steps to run the container
Could you please suggest a solution to this issue?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
提供参考,因为这解决了我的问题,引用答案:
我解决了我的具体问题。我使用的原始用户帐户有一个空的 mounts.conf 文件(将其复制到 usr/share/containers 中)。
use touch ~/.config/containers/mounts.conf
1874621 – 无根 Podman 无法使用主机订阅
giving reference as this solved my issue quoting answer:
I solved my specific problem. The original user account I was using had an empty mounts.conf file (copy the one in usr/share/containers).
use touch ~/.config/containers/mounts.conf
1874621 – Rootless Podman Unable to Use Host Subscriptions