1.3. Publishing the bootc image to the remote registry


Publish your bootc image to the remote registry so that the image can be used for running the container on another host, or for when you want to install a new operating system with the bootc image layer.

Prerequisites

  • You are logged in to the RHEL 9.4 host where the image was built using the user credentials that have sudo permissions.
  • You have a remote registry such as {quay} for storing and accessing bootc images.
  • You created the Containerfile and built the image.

Procedure

  1. Log in to your remote registry by running the following command:

    REGISTRY_URL=quay.io
    
    $ sudo podman login "${REGISTRY_URL}" 
    1
    1
    Replace REGISTRY_URL with the URL for your registry.
  2. Publish the image by running the following command:

    REGISTRY_IMG=<myorg/mypath>/"${IMAGE_NAME}" 
    1
     
    2
    
    IMAGE_NAME=<microshift-4.17-bootc> 
    3
    
    
    $ sudo podman push localhost/"${IMAGE_NAME}" "${REGISTRY_URL}/${REGISTRY_IMG}"
    1
    Replace <myorg/mypath> with your remote registry organization name and path.
    2
    Replace <microshift-4.17-bootc> with the name of the image you want to publish.

Verification

  1. Run the container using the image you pushed to your registry as described in the "Running the MicroShift bootc container" section.
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

Red Hat ドキュメントについて

Legal Notice

Theme

© 2026 Red Hat
トップに戻る