Project

Profile

Help

« Previous | Next » 

Revision 7f26e96a

Added by dkliban@redhat.com over 1 year ago

Adds REST APIs needed to perform docker/podman push

The user needs to create a Container Repository with a name that they will use to perform a push with. e.g. foo/bar

http :/pulp/api/v3/repositories/container/container/ name='foo/bar'

podman tag dhak235a localhost:24817/foo/bar podman push localhost:24817/foo/bar

Then the content can be pulled backed from Pulp by creating a distribution with the a base path that matches the name of the repository and has the repository associated with it. e.g. base_path='foo/bar' repository=

http :/pulp/api/v3/distributions/container/container/ name=foo base_path='foo/bar'
repository=/pulp/api/v3/repositories/container/container/1b5f0ac4-a911-42b8-bd36-4d497e6e9292/

podman pull localhost:24816/foo/bar

Note the difference in the port numbers of the two APIs.

re: #5027 https://pulp.plan.io/issues/5027