Chapter 5. Setting up your container repository You can setup your container repository to add a description, include a README, add groups who can access the repository, and tag images. 5.1. Prerequisites You are logged in to a private automation hub with permissions to change the repository. 5.2. Adding a README to your container repository Add a README to your container repository to provide instructions to your users for how to work with the container. Automation hub container repositories support Markdown for creating a README. By default, the README will be empty. Prerequisites You have permissions to change containers. Procedure Navigate to Execution Environments . Select your container repository. On the Detail tab, click Add . In the Raw Markdown text field, enter your README text in Markdown. Click Save when you are finished. Once you add a README, you can edit it at any time by clicking Edit and repeating steps 4 and 5. 5.3. Providing access to your container repository Provide access to your container repository for users who need to work the images. Adding a group allows you to modify the permissions the group can have to the container repository. You can use this option to extend or restrict permissions based on what the group is assigned. Prerequisites You have change container namespace permissions. Procedure Navigate to Execution Environments . Select your container repository. Click Edit at the top right of your window. Under Groups with access , select a group or groups to grant access to. Optional: Add or remove permissions for a specific group using the drop down under that group name. Click Save . 5.4. Tagging container images Tag images to add an additional name to images stored in your automation hub container repository. If no tag is added to an image, automation hub defaults to latest for the name. Prerequisites You have change image tags permissions. Procedure Navigate to Execution Environments . Select your container repository. Click the Images tab. Click , then click Manage tags . Add a new tag in the text field and click Add . Optional: Remove current tags by clicking x on any of the tags for that image. Click Save . Verification Click the Activity tab and review the latest changes. 5.5. Creating a credential in automation controller Previously, you were required to deploy a registry to store execution environment images. On Ansible Automation Platform 2.0 and later, it is assumed that you already have a container registry up and running. Therefore, you are only required to add the credentials of a container registry of your choice to store execution environment images. To pull container images from a password or token-protected registry, create a credential in automation controller: Procedure Navigate to automation controller. In the side-menu bar, click Resources Credentials . Click Add to create a new credential. Enter an authorization Name , Description , and Organization . Select the Credential Type . Enter the Authentication URL . This is the container registry address. Enter the Username and Password or Token required to log in to the container registry. Optionally, select Verify SSL to enable SSL verification. Click Save .

Commands: