nvfetcher icon indicating copy to clipboard operation
nvfetcher copied to clipboard

Feature request: Add docker image support

Open TLATER opened this issue 2 years ago • 1 comments

There is support for pulling docker images in nixpkgs, and it would be awesome to use nvfetcher to update the digest/sha for this.

nvchecker also has support for checking docker registries.

It seems like most of the pieces are in place, it just needs some wiring for nvfetcher to create sources. I've tried patching this together myself, but I'll probably need a crash course on haskell before I can actually do this, so I'll leave this issue here for now :)

TLATER avatar Oct 13 '21 10:10 TLATER

I would also be interested in this, might take a stab at it in the near future.

One small design point would be that nvchecker only supports fetching tags, which are technically mutable (see https://discourse.nixos.org/t/how-to-update-a-declarative-docker-container/8679/3), but I have no idea how often that actually happens. But I think that tags would already be useful, even without digests.

amesgen avatar Oct 26 '22 19:10 amesgen

Shout if you want review or something of the sort - I've since learned haskell, but stopped using docker images ;)

TLATER avatar Oct 27 '22 20:10 TLATER

@TLATER Feel free to have a look at #33 if you want, but don't feel pressured in any way :smile:

amesgen avatar Oct 30 '22 15:10 amesgen

I see the actual maintainer just got around to it instead :) Thanks for the feature!

TLATER avatar Nov 03 '22 12:11 TLATER