Copy container images from public repositories to ECR

I maintain a few container images and stored them in ECR. I use the images mostly to build my blogs (including this one), some tests with different container engines and compiling my programs. Since the task of copying the images from the public registry to my private ECR is pretty much the same every time, I’ve decided to automate it. Solution #1. Scripting The first solution consist of a bash script that uses aws cli and skopeo tools, this has the advantage of being really customizable and can be used everywhere, as long as those tools are installed.

Read More

Installing Linux on the Surface Go

I recently decided to install linux on my Surface Go, I like the tablet as it is a small but really capable machine, and its architecture, x86_64, means I can run the vast majority of software. Windows 10 was really slow and as I use the tablet primarly for reading documents, I didn’t have any particular reason to keep windows 10, also the tablet cannot be upgraded to windows 11.

Read More

A docker GUI for linux made with Python

I’ve developed a docker GUI called Quetzal for linux. Is a simple Python script with a few dependencies, the main ones are Docker SDK and PySimpleGUI. The app lets you create, monitor and delete images, containers, networks and volumes. The window is organized in tabs, all of those look the same and give information about the current resource (images, networks, container or volumes.) Images The listbox will show the Image ID, the image name as well as the tag.

Read More

Compile in aws instances

In this post I cover how I create a cluster to compile the linux kernel. Recently I needed to compile the linux kernel for my personal PC and it was really slow with only 2 cores, 4 threads. it ocurred to me, I didn’t need a new computer, perhaps I could compile the kernel in aws using ec2 instances. However if I had only one EC2 instance it will be the same case, unless I chose a really big instance type, but I could create a cluster of cheaper machines and have them running to compile the linux kernel, then I could copy the generated files over ssh to my current laptop and destroy all the infrastructure.

Read More