
A docker pull alpine will resolve to docker.io/library/alpine:latest, and docker pull repo/image:tag will resolve to docker.io/repo/image:tag (notice the specified repo).

There is Docker Hub and Quay.io, plus registries for Amazon, Microsoft, Google, Red Hat, and many other Linux distributions.ĭocker addressed our laziness by always resolving to the Docker Hub. I keep forgetting which image lives on which registry, and there are many images and a lot of registries out there. It is much more convenient to do a podman pull ubi8 rather than podman pull /ubi8:latest. Humans are lazy, and I am no exception to that. The examples are real-world scenarios and may be a source of inspiration for tackling your individual use case. In the following sections, we will go through some examples that explain the various configuration options in the nf. The systemwide location is /etc/containers/nf, but if you want to change that for a single user, you can create a new file at $HOME/.config/containers/nf. Or, more generally speaking, whenever we contact a container registry.

The nf configuration is in play whenever we push or pull an image. I want to dedicate this blog post to the nf configuration file, explain its various options and knobs, and how we can use them in production. The image library also supports several configuration files where, without a doubt, the nf is the most important one for the vast majority of users. Dan Walsh wrote a great blog post on the various transports that I highly recommend reading. A transport can refer to a local container storage, a container registry, a tar archive, and much more.

It allows us to pull and push images, manipulate images (e.g., change layer compression), inspect images along with their configuration and layers, and copy images between so-called image transports. As the name suggests, this library deals with container images and is incredibly powerful. Going one level higher, we find the containers/image library. The most basic building block for our container tools is the containers/storage library, which locally stores and manages containers and container images. Free course: Deploying containerized applications.
