Pulp Container

I am new to pulp project and still learning the project and the architecture. I especially interested in pushing and pulling docker containers into a registry.

I understood that I can deploy pulp project with docker compose. I did it and I was able to see the following :

c8cb2058885a   haproxy:latest             "docker-entrypoint.s…"   2 hours ago   Up 2 hours             0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp   haproxy
3e7dbb36c7ac   pulp/pulp-web:latest       "/docker-entrypoint.…"   3 hours ago   Up 3 hours             80/tcp, 0.0.0.0:8080->8080/tcp, [::]:8080->8080/tcp                            compose-pulp_web-1
20368935aa6c   pulp/pulp-minimal:latest   "pulp-api"               3 hours ago   Up 3 hours (healthy)                                                                                  compose-pulp_api-2
87900bf07249   pulp/pulp-minimal:latest   "pulp-api"               3 hours ago   Up 3 hours (healthy)                                                                                  compose-pulp_api-1
6a04d8e50ddf   pulp/pulp-minimal:latest   "pulp-content"           3 hours ago   Up 3 hours (healthy)                                                                                  compose-pulp_content-1
e5cfd03b427c   pulp/pulp-minimal:latest   "pulp-worker"            3 hours ago   Up 3 hours                                                                                            compose-pulp_worker-2
23a915f2be2d   pulp/pulp-minimal:latest   "pulp-content"           3 hours ago   Up 3 hours (healthy)                                                                                  compose-pulp_content-2
cdcad23c92a8   pulp/pulp-minimal:latest   "pulp-worker"            3 hours ago   Up 3 hours                                                                                            compose-pulp_worker-1
2305e68c664e   postgres:13                "docker-entrypoint.s…"   3 hours ago   Up 3 hours (healthy)   0.0.0.0:5432->5432/tcp, [::]:5432->5432/tcp                                    compose-postgres-1
da6ee3a401be   redis:latest               "docker-entrypoint.s…"   3 hours ago   Up 3 hours (healthy)   6379/tcp                                                                       compose-redis-1

Expected outcome:

I was expecting to also see the port 24817 for the repositories as all docs are showing. Becuase of that missing port I am getting the following when trying to to do docker login with https using haproxy and a Loadbalancer in AWS.

error parsing HTTP 403 response body: invalid character 'c' looking for beginning of value: "connecting to pulp_api:24817: resolving host pulp_api: lookup pulp_api: no such host"

I appreciate your help.

Solved. The service was calling pulp_api/token. In my case I just added TOKEN_AUTH_DISABLED = True in /images/compose/assets/settings.py to disable it because I am interested in basic auth.

3 Likes

Outstanding - thanks for coming back and letting us know the solution! Hopefully will help other folk who run into the same/similar issue.