【问题标题】:Podman-docker container has not started while executing the run command in linux ( Rhel 8 ) serverPodman-docker container has not started while executing the run command in linux ( Rhel 8 ) server
【发布时间】:2022-12-26 15:49:52
【问题描述】:

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?

【问题讨论】:

  • I guess podman login and login to your RHEL account.

标签: linux docker podman rhel8


【解决方案1】:

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 (remember to always copy the one in /usr/share/containers). enter link description hereuse touch ~/.config/containers/mounts.conf

【讨论】:

    猜你喜欢
    • 2020-09-04
    • 2022-12-27
    • 1970-01-01
    • 2022-11-09
    • 2020-12-23
    • 2018-03-19
    • 1970-01-01
    • 2015-04-06
    • 2019-07-01
    相关资源
    最近更新 更多