VSCode dev container with Podman and WSL

I have been running VSCode development containers for many years. My main machine running Windows 10, I was using Docker Desktop to inject Docker in WSL. And that has been nothing but slow and steady troubles, so it was time to migrate to Podman. Problems with Docker Desktop Slow to start Not that reliable, it can crash at start, stop or while running rarely It seems to sometimes crash WSL which won’t even stop with wsl --shutdown Why Podman Daemon less so it can’t really crash unless being called for something No need to install it on the host system, installing in WSL is enough Rootless Prerequisites My configuration is as follows:...

March 18, 2024 · 3 min · Quentin McGaw

Binpot

binpot is the repository holding Dockerfiles and Github workflows to statically build binaries for all CPU architectures supported by Docker. TL;DR ⏩ Usage: FROMalpine:3.14COPY --from=qmcgaw/binpot:helm /bin /usr/local/bin/helm Programs available Search programs on Docker Hub All Docker images and programs are built for every CPU architecture supported by Docker Initial situation 🤔 I developed VSCode development containers Dockerfiles for amd64 only, which covers most machines....

June 28, 2021 · 7 min · Quentin McGaw

Alpine: why wget and not curl?

Alpine is tiny. The alpine:3.14 Docker image is only 5.6MB uncompressed on amd64. Alpine achieves this partly thanks to busybox, which Docker image busybox is only 1.24MB. Alpine comes with wget implemented in its Busybox multi-call binary. You can try it with: docker run -it --rm busybox wget But why isn’t curl implemented as well, or instead of wget?? 🤔 wget vs curl The following table shows some key differences between the two, comparing the two installs on Alpine by using...

June 25, 2021 · 3 min · Quentin McGaw

VSCode Go development container

In April 2019, VSCode released a new extension Remote Containers Development allowing you to code with your development environment in a Docker container. After having struggled somehow to install all the proper tooling for Go on my host, that looked like the perfect occasion to jump in. That is why I developed the Docker image qmcgaw/godevcontainer together with devtainr to have a blazing fast installation. The following diagram will explain the remote container development concept much better than I can ever explain it:...

June 5, 2021 · 3 min · Quentin McGaw