12장. Managing container images
With Satellite, you can import container images from various sources and distribute them to external containers by using content views.
Additional resources
- For information about containers for Red Hat Enterprise Linux 10, see Red Hat Enterprise Linux 10 Building, running, and managing containers.
- For information about containers for Red Hat Enterprise Linux 9, see Red Hat Enterprise Linux 9 Building, running, and managing containers.
- For information about containers for Red Hat Enterprise Linux 8, see Red Hat Enterprise Linux 8 Building, running, and managing containers.
- For information about containers for Red Hat Enterprise Linux Atomic Host 7, see Getting Started with Containers in Red Hat Enterprise Linux Atomic Host 7.
12.1. Importing container images 링크 복사링크가 클립보드에 복사되었습니다!
You can import container image repositories from Red Hat Registry or from other image registries.
To use the CLI instead of the Satellite web UI, see the CLI procedure.
Procedure with repository discovery
- In the Satellite web UI, navigate to Content > Products and click Repo Discovery.
- From the Repository Type list, select Container Images.
- In the Registry to Discover field, enter the URL of the registry to import images from.
- In the Registry Username field, enter the name that corresponds with your user name for the container image registry.
- In the Registry Password field, enter the password that corresponds with the user name that you enter.
- In the Registry Search Parameter field, enter any search criteria that you want to use to filter your search, and then click Discover.
- Optional: To further refine the Discovered Repository list, in the Filter field, enter any additional search criteria that you want to use.
- From the Discovered Repository list, select any repositories that you want to import, and then click Create Selected.
- Optional: To change the download policy for this container repository to on demand, see 4.11절. “Changing the download policy for a repository”.
- Optional: If you want to create a product, from the Product list, select New Product.
- In the Name field, enter a product name.
- Optional: In the Repository Name and Repository Label columns, you can edit the repository names and labels.
- Click Run Repository Creation.
- When repository creation is complete, you can click each new repository to view more information.
- Optional: To filter the content you import to a repository, click a repository, and then navigate to Limit Sync Tags. Click to edit, and add any tags that you want to limit the content that synchronizes to Satellite.
- In the Satellite web UI, navigate to Content > Products and select the name of your product.
- Select the new repositories and then click Sync Now to start the synchronization process.
Procedure with creating a repository manually
- In the Satellite web UI, navigate to Content > Products. Click the name of the required product.
- Click New repository.
- From the Type list, select docker. Enter the details for the repository, and click Save.
- Select the new repository, and click Sync Now.
CLI procedure
Create the custom
Red Hat Container Catalogproduct:$ hammer product create \ --description "My_Description" \ --name "Red Hat Container Catalog" \ --organization "My_Organization" \ --sync-plan "My_Sync_Plan"Create the repository for the container images:
$ hammer repository create \ --content-type "docker" \ --docker-upstream-name "rhel7" \ --name "RHEL7" \ --organization "My_Organization" \ --product "Red Hat Container Catalog" \ --url "http://registry.access.redhat.com/"Synchronize the repository:
$ hammer repository synchronize \ --name "RHEL7" \ --organization "My_Organization" \ --product "Red Hat Container Catalog"