go-containerregistry
regclient
go-containerregistry | regclient | |
---|---|---|
18 | 13 | |
3,089 | 1,249 | |
0.7% | 4.2% | |
6.8 | 9.2 | |
23 days ago | 4 days ago | |
Go | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-containerregistry
- Crane: Tool for interacting with remote images and registries
-
A gopher’s journey to the center of container images
I also explored another module, go-containerregistry, in order to build images without root privileges. The approach is completely different, and we can manipulate each component of the container image separately. This can present an advantage, if you're looking for a way to fine tune things.
-
Skip build if "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}" exists on container registry
Use crane ls in a different job to check the tags in the registry. Create an artifact from its output that you evaluate in your kaniko job to check if the build should run or not.
-
Docker: We’re No Longer Sunsetting the Free Team Plan
Multi-arch builds are easy to "transfer" IMHO
crane cp docker.io/openfaas/gateway:0.10.0 ghcr.io/openfaas/gateway:0.10.0
If you've not used it yet - do take a look. Crane doesn't pull the images into a local Docker library for re-tagging and re-pushing.
https://github.com/google/go-containerregistry/blob/main/cmd...
-
Weekly: This Week I Learned (TWIL?) thread
crane - tool to copy images from one repo to another - https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md
- Dockerhub to (likely?) delete a lot of organizations.
-
FYI: Docker is deleting Open Source organisations
pretty sure the crane being referred by alex is this one: https://github.com/google/go-containerregistry/tree/main/cmd/crane
-
Docker's deleting Open Source images and here's what you need to know
https://github.com/google/go-containerregistry/tree/main/cmd...
It was recommended in this article:
- Crafting container images without Dockerfiles
-
ImagePullPolicy: IfNotPresent - (image doesn’t exist in repo) - Is it possible to pull the micro service image from an EKS node and then push to repo?
Look at using tools like skopeo or crane
regclient
-
[OC] Update: dockcheck - Checking updates for docker images without pulling - automatically update containers by choice.
But I'd suggest looking into if it's solved by other tools already, like regclient/regclient and their regsync features or something like containers/skopeo.
-
Made a script to check for image updates without pulling, then giving the option to update all (compose-)containers with newer images.
This is possible with the help of regctl.
-
if ( ( docker-compose pull ) == imageUpdated ) then...
I've been working on some stuff last couple of days to give me this function. Together with regctl I've got some drafts working.
-
AWS releases Finch: An open source client for container development
with more options like auth and certs. Infra might include backing disk and LB; if you need to scale, run several and keep them in sync with one of many open tools eg regclient.
Also plenty of cloud services now have registries like GHCR, ECR, etc. which are basically pay per Gb.
https://docs.docker.com/registry
https://github.com/regclient/regclient
- Is there any way to disable versioning in docker registry?
- How to manage the images present in a Docker Registry?
- dockerhub to ecr migration
-
How to push multiarch builds to tag after testing?
I had a similar problem and ended up using regctl. You might have to tweak your docker config depending on the registries you use, by setting a file type ci/cd envvar with the name DOCKER_CONFIG
- regclient
- How do I make a full clone of an image (without reusing layers?
What are some alternatives?
skopeo - Work with remote images registries - retrieving information, images, signing content
oras - OCI registry client - managing content like artifacts, images, packages
image-spec - OCI Image Format
container-diff - container-diff: Diff your Docker containers
Harbor - An open source trusted cloud native registry project that stores, signs, and scans content.
gcr-cleaner - Delete untagged image refs in Google Container Registry or Artifact Registry
finch - The Finch CLI is an open source client for container development
docker-tools - This is a repo to house some common tools for our various docker repos.
docker-registry-ui - The simplest and most complete UI for your private registry
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
docker-registry-browser - 🐳 Web Interface for the Docker Registry HTTP API V2 written in Ruby on Rails.