[systemd-devel] Errors using machinectl pull-tar and machinectl pull-dkr

Lennart Poettering lennart at poettering.net
Mon Mar 2 03:13:21 PST 2015


On Mon, 02.03.15 06:56, Peter Paule (systemd-devel at fedux.org) wrote:

> Hi,
> 
> is it ok for you to have a configuration file for machined? It would be
> wonderful if one could add the dkr index url to that file because for me
> it's always the same.

You can specify it at build time as a configure parameter.

> And maybe you could also support multiple values for the url to support
> private and public registries at the same time:
> 
> 1. Lookup the name of the dkr image at the first registry
> 2. Return if found
> 3. Go on with info message if not found
> 4. Lookup the name of the dkr image at the second registry
> 5. Return if found
> 6. Fail with error message if not found
> 
> Does this makes sense to you?

I am not really sure, it sounds slightly problematic regarding
security since it would not be clear anymore what you get if you ask
for a specific name.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list