You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a pulp container repository 'container_repo' and created a remote for kubernetesui/dashboard:v2.7.0 image present in DockerHub. Following are the commands used:
As I can see, pulp container repository stores images with the tag only (e.g., v2.7.0), which does not include docker's standard naming convention (e.g kubernetesui/dashboard:v2.7.0)
When I pull this image onto my server from pulp container repo, it is getting pulled as:
REPOSITORY TAG IMAGE ID CREATED SIZE
<pulp_server:port>/container_repo v2.7.0 07655ddf2eeb 2 years ago 249 MB
But I want the repository name to come as kubernetesui/dashboard instead of the above output.
When I try to provide a custom tag for the image, it gives an error:
[root@server1 pulp-dir]# pulp container repository tag --name container_repo --tag "kubernetesui/dashboard:v2.7.0" --digest <image_digest>
Error: Please pass a valid tag.
[root@server1 pulp-dir]# pulp container repository tag --name container_repo --tag kubernetesui/dashboard:v2.7.0 --digest <image_digest>
Error: Please pass a valid tag.
Does pulp support tagging the container images in the format kubernetesui/dashboard:v2.7.0 rather than the default tagging being done as v2.7.0?
The text was updated successfully, but these errors were encountered:
The image name that Pulp will serve is based on the base_path of the distribution. So if you want your image to be named kubernetesui/dashboard then you should change the base_path of your distribution to it.
pulp container distribution update --name container_repo --base-path kubernetesui/dashboard
I have created a pulp container repository 'container_repo' and created a remote for kubernetesui/dashboard:v2.7.0 image present in DockerHub. Following are the commands used:
As I can see, pulp container repository stores images with the tag only (e.g., v2.7.0), which does not include docker's standard naming convention (e.g kubernetesui/dashboard:v2.7.0)
When I pull this image onto my server from pulp container repo, it is getting pulled as:
REPOSITORY TAG IMAGE ID CREATED SIZE
<pulp_server:port>/container_repo v2.7.0 07655ddf2eeb 2 years ago 249 MB
But I want the repository name to come as kubernetesui/dashboard instead of the above output.
When I try to provide a custom tag for the image, it gives an error:
Does pulp support tagging the container images in the format kubernetesui/dashboard:v2.7.0 rather than the default tagging being done as v2.7.0?
The text was updated successfully, but these errors were encountered: