【发布时间】:2017-04-19 21:05:18
【问题描述】:
我有一个带有 docker 的 rhel7 主机。
我已经用 rhel7 作为基础镜像构建了一个镜像。
但是当我运行容器并执行 yum update 或尝试使用 yum 安装在包中时,它给了我以下错误。
"This system is not registered to Red Hat Subscription.you can use subscription manager to register"
我已经订阅了主机 RHEL 机器。我需要为每个容器订阅 rhel 图像吗?
或者
在构建映像时是否需要订阅 dockerfile 本身?
谢谢
【问题讨论】:
标签: docker dockerfile rhel7 docker-container docker-image