Install packages from host machine with Buildah

Today I learned that I can use Buildah to mount a container image and install packages on top of it from the host. microcontainer=$(buildah from registry.access.redhat.com/ubi8/ubi-micro) micromount=$(buildah mount $microcontainer) yum install \ --installroot $micromount \ --releasever 8 \ --setopt install_weak_deps=false \ --nodocs -y httpd yum clean all \ --installroot $micromount buildah umount $microcontainer buildah commit $microcontainer ubi-micro-httpd Source...

March 30, 2022 · 1 min · Iduoad

Azure Repos SSH Authentication

Today I learned that to authenticate with ssh to Azure Repos, it is necessary to add PubkeyAcceptedAlgorithms +ssh-rsa and HostkeyAlgorithms +ssh-rsa to the host config. Host nwad HostName ssh.dev.azure.com IdentityFile ~/Work/Nimbleways/.ssh/id_rsa IdentitiesOnly yes PubkeyAcceptedAlgorithms +ssh-rsa HostkeyAlgorithms +ssh-rsa More...

March 28, 2022 · 1 min · Iduoad

Getting battery information with upower

Today I learned how to get battery information (including remaining time) using upower. upower -i /org/freedesktop/UPower/devices/battery_BAT0 Source...

February 28, 2022 · 1 min · Iduoad

OCI Port Problem

Today I learned about Oracle Cloud Infrastructure port problem. Out of the box the OCI images come with iptables rules preventing any ingress traffic besides 22. To overcome this one should modify the iptables rules (add new ones). Discussion on superuser. Nice Article about the problem ...

February 26, 2022 · 1 min · Iduoad

Java major named project

Today I learned about some Java named project. Project Loom: Adds lightweight threads to Java. Project Valhalla: improves performance as it relates to access to data items. Project Panama: simplifies the process of connecting Java programs to non-Java components. Project Amber: explores and incubate smaller, productivity-oriented Java language features that have been accepted as candidate JEPs. More...

February 25, 2022 · 1 min · Iduoad

Redpanda streaming platform

Today I learned abour Redpanda which is a streaming service alternative to Kafka. Redpanda has implemented its internal Raft concensus algorithm and has no Zookeeper. Redpanda is writting in C++ which make it JVM free, and more developer-friendly for non Java Devs. Redpanda is compatible with Kafka API. Redpanda laverages WASM to enable one-shot transformations. Devs can write their data transformation in any language (compilable to WASM) and compile it to WASM and run it in Redpanda....

February 25, 2022 · 1 min · Iduoad

Podman Auto Update

Today I learned about the podman auto-update command. It updates all the containers managed by systemd (e.g. created by podman-generate-systemd --new) to the newest image version. More...

February 16, 2022 · 1 min · Iduoad