Yesterday i distro-hopped a host of mine, but not because i just wanted to see if the “grass was greener” (which is my usual reason). This time i had to solve a real problem.
I’m writing a python script for work, and it’s using threads. The stack was…
Bare Metal → Fedora Server → KVM → Ubuntu 24.04 → Docker CE → Python Container
All of that was going very well. I was fiddling with code, running a docker compose up, finding my next problem, fixing it, looping. Until…
Docker compose started duplicating lines of text in it’s output. Because i was troubleshooting threading i couldn’t shrug this off. I wasted two days going around in circles with ChatGPT trying to find a solution. It didn’t seem to matter what information i gave to ChatGPT, it a) complemented me on being smart, insightful and good looking to ask the question, b) bashing out a fairly convincing page of explanation as to what the cause was and c) offering a solution that it was convinced would put an end to my misery. It was a similar rinse and repeat cycle to the one i wanted to be doing with Python in Docker, but completely unproductive.
My troubleshooting ended up with my Dockerfile ending with…
CMD [ "/bin/date" ]
…and i still got duplicate lines of output. about two out of three times though.
So atht ath point i gave up and replaced that stack with…
Bare Metal → Fedora Server → KVM → Debian 13 → Docker CE → Python Container
So far it’s all going very well. Fortunately i have a bunch of scripts that make light work of hopping distros.
I just wanted to shout that story into a post for the cathartic benefits. Thanks for listening.
Anybody tried Debian 13 yet? Anybody got enough experience with Ubuntu and Docker to have an opinion on what my original problem might have been?