pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Clift <justin@postgresql.org>
To: Allan Kamau <kamauallan@gmail.com>
Cc: Postgres General Postgres General <pgsql-general@postgresql.org>
Subject: Re: building a singularity image from docker hub postgres image
Date: Tue, 30 Jan 2024 19:27:19 +1000
Message-ID: <2c289b037678be394b383d909168a405@postgresql.org> (raw)
In-Reply-To: <CAF3N6oSv-gbQhsEujnbtTxP8HROAVE+A6UkTQKQ6tjZcD+UgDA@mail.gmail.com>
References: <CAF3N6oSv-gbQhsEujnbtTxP8HROAVE+A6UkTQKQ6tjZcD+UgDA@mail.gmail.com>

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





view thread (3+ messages)  latest in thread

Message-ID: <2c289b037678be394b383d909168a405@postgresql.org>
Permalink:  ../2c289b037678be394b383d909168a405@postgresql.org/
Also on:    postgresql.org/message-id/2c289b037678be394b383d909168a405@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: justin@postgresql.org, kamauallan@gmail.com
  Subject: Re: building a singularity image from docker hub postgres image
  In-Reply-To: <2c289b037678be394b383d909168a405@postgresql.org>
  References: <CAF3N6oSv-gbQhsEujnbtTxP8HROAVE+A6UkTQKQ6tjZcD+UgDA@mail.gmail.com> <2c289b037678be394b383d909168a405@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox