Advantages of creating Pulp container repositories

Question:
I have just noticed that I can push images to a Pulp server with the container plug-in without creating a repository to “hold” it. This made me wonder: what are the main advantages of creating Pulp container repos over just pushing images directly?

Pulpcore version: 3.54

Pulp plugins installed and their versions:
ansible: 0.21.6
pulp-container: 2.20.0
pulp_deb: 3.2.0
pulp-maven: 0.8.0
ostree: 2.3.0
pulp-python: 3.11.1
rpm: 3.26.0
certguard: 3.54.0
file: 3.54.0

Operating system - distribution and version:
Linux (Ubuntu 22.04)

Nevermind, I understood it better now how pushing and hosting images are supposed to work.
For some reason, I assumed that I would have to create a repository and distribution manually, then push an image to the distribution so that it could be served, but Pulp instead creates both automatically, with the caveat that “push repositories” always serve the latest version (Push Images - Pulp Project).

1 Like