TIL you can inspect Docker-Container now with the docker-cli

When I wanted to inspect Docker-Container that existed in a remote Docker-registry, I normally used skopeo:

skopeo inspect docker://ubuntu:latest
{
    "Name": "docker.io/library/ubuntu",
    "Digest": "sha256:9a0bdde4188b896a372804be2384015e90e3f84906b750c1a53539b585fbbe7f",
    "RepoTags": [
        "10.04",
        "12.04",
        "12.04.5",
}

This command show me all the information about the image that I needed …

more ...

TIL how to work with Gitlab-CI’s Pull Policy

In a .gitlab-ci.yml job, if you do not specify a tag for an image, the latest tag is used by default.

The default configuration of the gitlab-runner to pull Docker images is if-not-present, which means the image is only loaded if it is not already present. This in turn …

more ...


TIL that Docker plugins need exec perms on the filesystem

For one of our customers we needed to install the Docker-plugin for loki. To install it, you run:

docker plugin install loki

However this failed with the following error message:

Error response from daemon: dial unix /run/docker/plugins/d442cff8568254659f9aa7d2dd5a30526b69d1ac62593c628b65da8b9e933c6a/loki.sock: connect: no such file or directory

Running strace …

more ...