Re: building a singularity image from docker hub postgres image

From: Justin Clift <justin(at)postgresql(dot)org>
To: Allan Kamau <kamauallan(at)gmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: building a singularity image from docker hub postgres image
Date: 2024-01-30 09:27:19
Message-ID: 2c289b037678be394b383d909168a405@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaheed Haque 2024-01-30 11:27:04 Re: Monitoring logical replication
Previous Message Allan Kamau 2024-01-30 05:52:19 building a singularity image from docker hub postgres image