Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUkP0-00CoPb-2S for pgsql-general@arkaria.postgresql.org; Tue, 30 Jan 2024 09:27:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rUkOz-003vPj-8h for pgsql-general@arkaria.postgresql.org; Tue, 30 Jan 2024 09:27:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUkOy-003vPE-S5 for pgsql-general@lists.postgresql.org; Tue, 30 Jan 2024 09:27:32 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUkOr-004UtS-VP for pgsql-general@postgresql.org; Tue, 30 Jan 2024 09:27:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Transfer-Encoding:Content-Type: Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender :Reply-To:Content-ID:Content-Description; bh=0GFehNaSoKRmqv2jk0bVllti9Q6YbwyGi8FCMOCE1Ko=; b=il4mobqGe+0JiNCzcYbZXex0Wk nqUGBRLDw6DqOyNP89vQ4UQ/7zDFiDtz2M13/y/1XojsBNwrX97+JR6cKQek2p9Yd9klf83f74JK0 SKWuSFTNzU2QExFdf2drhMFPT8xikqi9zA2guTneUb4lySBraZYfEDbyoJNf67FawzpcH7/C8F093 Cl9j3RpYhZ/weQxjrT250tBNT4zMTMNFeK0VxXwAVXcUxMbC+xXJg1sDcrDKPaTF7Sps7dP/8iO9H Aj3jL27vLLbehlDWi1oYWiPZFvQG4Cjx7eppQpm4+fGop/r7igY+TKC8/czy0JOj/d1gcUGhXj2GF 9pj9TYrQ==; Received: from meldrar.postgresql.org ([87.238.57.231] helo=webmail.postgresql.org) by meldrar.postgresql.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rUkOn-00HE1O-KJ; Tue, 30 Jan 2024 09:27:25 +0000 MIME-Version: 1.0 Date: Tue, 30 Jan 2024 19:27:19 +1000 From: Justin Clift To: Allan Kamau Cc: Postgres General Postgres General Subject: Re: building a singularity image from docker hub postgres image In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.15 Message-ID: <2c289b037678be394b383d909168a405@postgresql.org> X-Sender: justin@postgresql.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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