-
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.
Terminal Multiplexers
-
There are 2 mature popular terminal multiplexer apps: screen and tmux. Both of them are very useful if you want to work on multiple tasks over 1 SSH connection. Screen is relative simple to use while tmux is much more powerful and more complicated to use.
-
Besides enabling users to …
Schedule Cron Tasks in a Docker Container
Cron tasks work in a Docker container.
However,
you have to manually start the cron deamon (root or sudo required) using cron
or sudo cron
if it is not configured (via the Docker entrypoint) to start on the start of the Docker container.
For tutorials on crontab,
please refer to …
Resolve the DNS Contamination Issue in Firefox
The local DNS you use in China is probably contaminated
and popular sites like Google, Facebook, etc. are not interpreted correctly.
So if you are in China and use Firefox with Proxy,
make sure to set network.proxy.socks_remote_dns
to be true (follow steps below).
-
Open an empty tab in …