-
BuildKit is a good tool for building Docker images on a Kubernetes cluster where you have root access.
-
Kaniko is another usable tool but it is not as intuitive as buildkit-cli-for-kubectl to use. As a matter of fact, tricky issues might arise when building Docker images using Kaniko.
-
buildah is …
Build Docker Images Using BuildKit on Kubernetes
buildkit-cli-for-kubectl
is a plugin for kubectl
which provides a similar experience building Docker images on Kubernetes
as building Docker images locally using docker build
.
buildkit-cli-for-kubectl
works perfectly in a personal/development Kubernetes cluster (e.g., minikube running locally),
however,
it doesn't work in an enterprise production environment
due to permission …
Convert PDF to EPS
There are tons of tools for converting PDF pictures to EPS pictures in Linux.
The pdf2ps
command is a good one.
It produces EPS pictures without losing much resolution.
The general purpose tools convert
(from the ImageMagick
package) does not produce as good quality EPS figures.
Build Docker Images Using Kaniko
-
Kaniko works differently from Docker. It runs inside a Docker container and detect and extract new layers to build Docker images. Since Kaniko manipulates the filesystem (layers) inside the Docker container, it can have unexpected side effect if not used carefully. For this reason, the developer team suggests users to …
Extract Images from Video Using OpenCV in Python
Tips and Traps¶
- Most videoes have a FPS of 24. Some videos have higher FPS (e.g., 30 or 60) so that they can capture motions better. A record video on a computer has a FPS of the refresh rate of the monitor, which is usually 60. You can get the FPS of a video using OpenCV in Python.
Deleting Docker Image Tags on DockerHub using the Python Module requests
Tips¶
- You can use Convert curl syntax to Python, Node.js, PHP, R or curlconverter to convert CURL commands to Python requests code.