Translated message

A translation of this page exists in English.

単一システム上の Podman コンテナーまたはコンテナーイメージをルートレスユーザー間で共有するにはどうしたらよいですか?

Solution In Progress - Updated -

Issue

  • Red Hat Enterprise Linux システムで Podman を使用する場合、ルートレスユーザー (非 root ユーザー、つまり root 以外のユーザー) はコンテナー化に Podman を使用します。
    • 現在、各ユーザーは Podman を個別に実行していますが、これが、他のユーザーが他のユーザーに属するコンテナーとコンテナーイメージを使用したり共有したりすることを妨げています。
    • ユーザーは sudo を使用してホスト上で Podman を root として使用できますが、これは非常に安全性が低いため、回避する必要があります。
  • Podmanbuildah、または skopeo 間で Red Hat Enterprise Linux 上の Podman を使用してコンテナーとコンテナーイメージの重複を制限するには、どのオプションを使用できますか?

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux for Edge
  • Red Hat OpenShift Container Platform 4
  • サポートされているランタイム (crunrunc など) を備えた Podman コンテナーエンジン
  • buildahskopeoPodman と同じ方法でコンテナーストレージを共有するため、これらも影響を受けます。

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content