pulp-oci-images
pulp-oci-images copied to clipboard
Unable to launch docker compose stack
Version Latest version from Git repository
Describe the bug
Starting the docker compose stack as per documentation with the command docker compose up
results in a crash with code:
set_init_password_service-1 exited with code 0
Gracefully stopping... (press Ctrl+C again to force)
service "signing_key_service" didn't complete successfully: exit 1
checking the logs for the container signing_key_service
$ docker logs 476042309d92
Waiting on postgresql to start...
Postgres started.
Checking for database migrations
Database migrated!
/usr/bin/add_signing_service.sh: line 6: PULP_SIGNING_KEY_FINGERPRINT: unbound variable
Waiting on postgresql to start...
Postgres started.
Checking for database migrations
Database migrated!
/usr/bin/add_signing_service.sh: line 6: PULP_SIGNING_KEY_FINGERPRINT: unbound variable
Running the container stack again with docker compose up -d
to start the stack in the background results service signing_key_service
not being able to start
[+] Running 9/9
✔ Container compose-redis-1 Healthy 7.5s
✔ Container compose-postgres-1 Healthy 7.5s
✔ Container compose-set_init_password_service-1 Exited 9.5s
✔ Container compose-migration_service-1 Exited 7.5s
✔ Container compose-pulp_content-1 Running 0.0s
✔ Container compose-pulp_content-2 Running 0.0s
✘ Container compose-signing_key_service-1 service "signing_key_service" didn't complete... 12.6s
✔ Container compose-pulp_worker-1 Running 0.0s
✔ Container compose-pulp_worker-2 Running 0.0s
service "signing_key_service" didn't complete successfully: exit 1
To Reproduce
Steps to reproduce the behavior:
Follow the documentation (note that the docs uses outdated docker-compose
which is not supported)
git clone [email protected]:pulp/pulp-oci-images.git
cd images/compose
docker-compose up
Expected behavior
I expect the stack to be running after running docker compose up
and NOT crash / stop unexpectedly.