On 2024-01-30 15:52, Allan Kamau wrote:
I am trying to build a singularity image from postgres docker image.
I am issuing the command below.

$ singularity build /local/data/some/postgres.16.1.sif
docker://postgres/postgres:16.1

INFO:    Starting build...
INFO:    Fetching OCI image...
FATAL:   While performing build: conveyor failed to get: GET
https://index.docker.io/v2/postgres/postgres/manifests/16.1: UNAUTHORIZED:
authentication required; [map[Action:pull Class: Name:postgres/postgres
Type:repository]]

What is the url I should use?

Not personally familiar with Singularity, but this post looks like it
should help:

https://www.linuxwave.info/2022/04/running-postgresql-database-using.html

The example command they have there is:

  singularity pull docker://postgres:14.2-alpine3.15

So the format of the url *seems* like it should be:

  docker://postgres:16.1

That just pure guess work though. :)

Regards and best wishes,

Justin Clift


Reply via email to