Re: building a singularity image from docker hub postgres image - Mailing list pgsql-general

From Justin Clift
Subject Re: building a singularity image from docker hub postgres image
Date
Msg-id 2c289b037678be394b383d909168a405@postgresql.org
Whole thread Raw
In response to building a singularity image from docker hub postgres image  (Allan Kamau <kamauallan@gmail.com>)
Responses Re: building a singularity image from docker hub postgres image  (Allan Kamau <kamauallan@gmail.com>)
List 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



pgsql-general by date:

Previous
From: Allan Kamau
Date:
Subject: building a singularity image from docker hub postgres image
Next
From: Shaheed Haque
Date:
Subject: Re: Monitoring logical replication