dive – Docker image explorer

dive is a Docker image explorer. This is a very handy tool when you are trying to figure out how a Docker image was built and what’s in it, and you don’t have the original Dockerfile.

It uses the meta information for each layer to show you which command was used to create the layer, and which files were added, removed, or changed.

Additionally, you can use dive to make sure your Docker images are optimized and their size is under control. You can even integrate dive into your CI/CD pipeline!

Fedora 31: Docker Fix

I’ve updated my laptop to Fedora 31 over the Christmas holidays. Pretty much everything works as it did before. Except for Docker, which suddenly fails to start the service.

A quick Google search pointed to the discussion in this bug report, where I found the solution that worked for me:

  1. Edit /etc/sysconfig/grub
  2. Append systemd.unified_cgroup_hierarchy=0 to the GRUB_CMDLINE_LINUX variable
  3. Run “grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
  4. Reboot

Once the machine came back up, docker service was running normally.