Push an image to Docker Hub and GitHub packages using Buildah | Part 3 - How to live without Docker for developers

January 17, 2021

As you might already know, Kubernetes is going to drop support for Docker. Starting from version 1.20 that was recently released in December 2020 you will see a deprecation warning for Docker. Docker runtime support will be completely removed from Kubernetes in version 1.22 that will be release in late 2021. After that you will need to switch to one of the other compliant container runtimes, like containerd or CRI-O inside your clusters. Despite both containerd and CRI-O know how to pull docker images and run them and Docker Images Manifest V2 and OCI image specification are almost the same, nobody knows how long Docker images will be supported.

As developers, we need to be prepared to build either docker or OCI images in just a one click and get used to living without Docker.

Therefore I decided to create a series of videos with the common title - How to live without Docker for developers.

In the first two episodes I showed you how you can build an image using Buildah, if you already have a Dockerfile and how to build an image from scratch using the native Buildah commands. In both episodes I run my containers using Podman but I always used a local cache to take an image.

In the third episode I'm going to show you how you can push an image to a container registry using Buildah. I will push my image to Docker Hub first and then I will show you how to push it to GitHub packages, also known as GitHub Container Registry.

Please check it out and subscribe to my channel to be notified when my new videos will be published.

Thank you in advance.

Link to the video: https://youtu.be/DxCSsHJlumM