gnu-linux-libre
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU-linux-libre] Docker


From: Denis 'GNUtoo' Carikli
Subject: Re: [GNU-linux-libre] Docker
Date: Tue, 20 Jun 2023 22:20:27 +0200

On Mon, 19 Jun 2023 22:54:37 -0400
Richard Stallman <rms@gnu.org> wrote:
> Docker is one of the many package manager systems that we will need to
> address one by one.  (I expect that we will find that the differences
> between them lead to a need for different solutions.)
> 
> It is exciting news, that Parabola has fixed Docker already.
> Can you say more about that fix>  We should verify it reqlly does
> the job.
The fix[1] is far form ideal since I'm a complete beginner in the go
programming language. 

I changed the default repository to http://localhost but since nothing
is there, it doesn't pull images by default from docker hub anymore.

Before 'docker pull pureos/byzantium' downloaded a PureOS image from
docker hub (which is hosted at docker.io).

Now with my patch, that doesn't work anymore and users need to do
'docker pull registry-1.docker.io/pureos/byzantium' but that is because
I don't know go well enough.

I wanted users to be able to use 'docker pull
docker.io/pureos/byzantium' instead as it would enable people to use
commands or create files that would be compatible with both patched
docker, unpatched docker, and other tools compatible with docker images
(like podman) that don't have a hardcoded default docker repository
(docker registry in docker jargon).

Since the default is http://localhost users can also run their own
repository locally but I guess that most users won't do that.

If they want to do that though, there is some documentation[2] that
shows how to do it on FSDG compliant distributions (it requires
installing a guix package and running the daemon by hand with a
configuration file provided on that wiki page[2]).

What is not documented yet is how to run a public repository as it
would require a bit more research on how to require authentication just
to publish images and not to download them, as right now I only found
how to have no authentication at all or require authentication for
everything.

References:
-----------
[1]https://git.parabola.nu/abslibre.git/tree/libre/docker/PKGBUILD#n58
[2]https://libreplanet.org/wiki/Group:Software/research/ExternalRepositories/DockerRegistries#Running_your_own_registry

Denis.

Attachment: pgpz4NofB25Mb.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]