<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Container on myByways</title><link>https://myByways.com/tags/container/</link><description>Recent content in Container on myByways</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 17 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://myByways.com/tags/container/index.xml" rel="self" type="application/rss+xml"/><item><title>Running Kokoro TTS via macOS Containerisation Framework</title><link>https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework/</link><pubDate>Sun, 17 Aug 2025 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-kokoro-tts-via-macos-containerisation-framework/</guid><description>&lt;p&gt;A short 2-in-1 post of two things I’ve been meaning to try out on macOS - first, to try the new &lt;a href="https://apple.github.io/container/documentation/" rel="external"&gt;macOS Container framework&lt;/a&gt; on macOS 15.5&amp;hellip; and second, to spin up &lt;a href="https://huggingface.co/hexgrad/Kokoro-82M" rel="external"&gt;Kokoro Text-to-Speech (TTS)&lt;/a&gt; in a container.&lt;/p&gt;</description></item><item><title>Using Rosetta in a UTM Linux VM with Docker on Apple Silicon</title><link>https://myByways.com/post/using-rosetta-in-a-utm-linux-vm-with-docker-on-apple-silicon/</link><pubDate>Sun, 12 Mar 2023 00:00:00 +0000</pubDate><guid>https://myByways.com/post/using-rosetta-in-a-utm-linux-vm-with-docker-on-apple-silicon/</guid><description>&lt;p&gt;I have been using &lt;a href="https://getutm.app/" rel="external"&gt;UTM on M1/M2 macs&lt;/a&gt; for all my virtualization needs for a while, but never posted much because it practically works out of the box. Since around October 2022, &lt;strong&gt;UTM v4.0.9 on macOS Ventura&lt;/strong&gt; allows &lt;strong&gt;Apple Hypervisor Virtualization&lt;/strong&gt; Virtual Machines to use &lt;a href="https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment" rel="external"&gt;Rosetta 2&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Running GFPGAN Face Restoration in a container</title><link>https://myByways.com/post/running-gfpgan-face-restoration-in-a-container/</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-gfpgan-face-restoration-in-a-container/</guid><description>&lt;p&gt;Almost a year ago, Tencent researchers released their &lt;a href="https://github.com/TencentARC/GFPGAN" rel="external"&gt;GFPGAN Face Restoration&lt;/a&gt;, an AI model which is trained specifically on faces, to better upscale and restore details in low-resolution or damaged portrait photos. I thought I’d give it a whirl.&lt;/p&gt;</description></item><item><title>Running x86 docker images in Multipass on an ARM M1 mac</title><link>https://myByways.com/post/running-x86-docker-images-in-multipass-on-an-arm-m1-mac/</link><pubDate>Fri, 29 Jul 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-x86-docker-images-in-multipass-on-an-arm-m1-mac/</guid><description>&lt;p&gt;Did you know it is possible to run &lt;strong&gt;x86_64&lt;/strong&gt; Docker containers on an &lt;strong&gt;ARM-based M1&lt;/strong&gt; mac? It’s quite staightforward with &lt;strong&gt;Multipass&lt;/strong&gt; and &lt;strong&gt;Docker&lt;/strong&gt; (if you are new to Multipass, check out my &lt;a href="https://myByways.com/post/multipass-for-docker-containers-on-macos"&gt;Multipass for Docker containers on macOS post&lt;/a&gt; from a few months ago).&lt;/p&gt;</description></item><item><title>Multipass for Docker containers on macOS</title><link>https://myByways.com/post/multipass-for-docker-containers-on-macos/</link><pubDate>Thu, 17 Mar 2022 00:00:00 +0000</pubDate><guid>https://myByways.com/post/multipass-for-docker-containers-on-macos/</guid><description>&lt;p&gt;I previously setup &lt;a href="https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos"&gt;Lima as a replacement for Docker Desktop&lt;/a&gt; on macOS. A while ago I tried &lt;a href="https://multipass.run/" rel="external"&gt;Multipass&lt;/a&gt; by Canonical, which makes it really easy to spin up a Ubuntu VM (using Hyperkit) without all the setup and installation typically required with Virtual Box or QEMU.&lt;/p&gt;</description></item><item><title>Minuscule Lima setup to replace Docker on macOS</title><link>https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos/</link><pubDate>Thu, 07 Oct 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/minuscule-lima-setup-to-replace-docker-on-macos/</guid><description>&lt;p&gt;Today’s post will be a long one - recently, &lt;a href="https://www.docker.com/blog/updating-product-subscriptions/" rel="external"&gt;Docker announced some changes to the Docker Desktop license,&lt;/a&gt; so I figured I’d check out the &lt;a href="https://github.com/lima-vm/lima" rel="external"&gt;Lima&lt;/a&gt; for macOS instead. As always, I end up complicating things by doing everything my way&amp;hellip;&lt;/p&gt;</description></item><item><title>Configuring Windows Subsystem for Linux (WSL2)</title><link>https://myByways.com/post/configuring-windows-subsystem-for-linux-wsl2/</link><pubDate>Sat, 13 Feb 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/configuring-windows-subsystem-for-linux-wsl2/</guid><description>&lt;p&gt;Here is how I configure &lt;strong&gt;Windows Subsystem for Linux&lt;/strong&gt; (WSL). I do things a bit strangely: by changing the mounts, by running a GUI Desktop, and by running Docker in WSL2 and not on the Host&amp;hellip;&lt;/p&gt;</description></item><item><title>Testing Grav 1.7 in a container</title><link>https://myByways.com/post/testing-grav-1-7-in-a-container/</link><pubDate>Fri, 22 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/testing-grav-1-7-in-a-container/</guid><description>&lt;p&gt;When I first used &lt;a href="https://getgrav.org/" rel="external"&gt;Grav&lt;/a&gt;, “a modern open source flat-file CMS,” to host this site, I setup a local development environment using macOS’s built-in &lt;strong&gt;Apache&lt;/strong&gt; and &lt;strong&gt;PHP&lt;/strong&gt;. But this is getting harder with each macOS release, so it’s time to use a &lt;a href="https://www.docker.com/products/docker-desktop" rel="external"&gt;Docker container&lt;/a&gt; instead.&lt;/p&gt;</description></item><item><title>Custom icons in Windows Start Menu Medium Tiles</title><link>https://myByways.com/post/custom-icons-in-windows-start-menu-medium-tiles/</link><pubDate>Thu, 21 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/custom-icons-in-windows-start-menu-medium-tiles/</guid><description>&lt;p&gt;In the Windows 10 &lt;strong&gt;Start Menu&lt;/strong&gt;, I used &lt;strong&gt;Pin To Start&lt;/strong&gt; to a medium sized tile for Firefox - and the icon is nice and large - but is not the case for other shortcuts. I was wondered why&amp;hellip; and how to make all the icons have a more consistent look.&lt;/p&gt;</description></item><item><title>Running Linux GUI applications in a Docker container using Xpra</title><link>https://myByways.com/post/running-linux-gui-applications-in-a-docker-container-using-xpra/</link><pubDate>Sun, 17 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-linux-gui-applications-in-a-docker-container-using-xpra/</guid><description>&lt;p&gt;There are multiple ways to run Linux GUI applications in a Docker container, but today I’ll highlight a method that I found interesting: using &lt;strong&gt;&lt;a href="https://xpra.org/" rel="external"&gt;Xpra&lt;/a&gt;&lt;/strong&gt; to forward X11 screens from containers to a web browser. This post is based on &lt;a href="https://github.com/JAremko/docker-x11-bridge" rel="external"&gt;Eugene Yaremenko’s docker-x11-bridge&lt;/a&gt;, which I simplified.&lt;/p&gt;</description></item><item><title>Bulma customisation with Sass</title><link>https://myByways.com/post/bulma-customisation-with-sass/</link><pubDate>Fri, 08 Jan 2021 00:00:00 +0000</pubDate><guid>https://myByways.com/post/bulma-customisation-with-sass/</guid><description>&lt;p&gt;I’ve been putting of this post for too long. I use &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt; as the CSS framework for this site. I previously used &lt;a href="https://bulma-customizer.bstash.io/" rel="external"&gt;Bulma Customizer&lt;/a&gt; to customize some settings but this does not seem to work anymore. So here is how to customize Bulma CSS yourself.&lt;/p&gt;</description></item><item><title>Running Sass in a container</title><link>https://myByways.com/post/running-sass-in-a-container/</link><pubDate>Wed, 17 Jun 2020 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-sass-in-a-container/</guid><description>&lt;p&gt;Here is how to create a &lt;a href="https://www.docker.com/products/docker-desktop" rel="external"&gt;Docker&lt;/a&gt; container on macOS to “compile” &lt;a href="https://sass-lang.com/" rel="external"&gt;Sass stylesheets&lt;/a&gt; to CSS. In my case, I wanted to (re)compile my &lt;a href="https://bulma.io/" rel="external"&gt;Bulma&lt;/a&gt;-based theme with the latest version 0.9.0 with my variable overrides.&lt;/p&gt;</description></item><item><title>OCRmyPDF: searchable text from images</title><link>https://myByways.com/post/ocrmypdf-searchable-text-from-images/</link><pubDate>Mon, 16 Dec 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/ocrmypdf-searchable-text-from-images/</guid><description>&lt;p&gt;I recently had a bunch of screen shots that I wanted to OCR, so that I could search for text content in the future. I found an open source solution called &lt;a href="https://github.com/jbarlow83/OCRmyPDF" rel="external"&gt;OCRmyPDF&lt;/a&gt; (created by &lt;strong&gt;jbarlow83&lt;/strong&gt; over on GitHub) to be very simple to use. It’s also &lt;a href="http://ocrmypdf.readthedocs.io/" rel="external"&gt;very well documented&lt;/a&gt; with many usage examples, including my preferred option - from a &lt;a href="https://www.docker.com" rel="external"&gt;Docker&lt;/a&gt; container.&lt;/p&gt;</description></item><item><title>Running Db2 Data Server Manager in a container</title><link>https://myByways.com/post/running-db2-data-server-manager-in-a-container/</link><pubDate>Sun, 20 Oct 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/running-db2-data-server-manager-in-a-container/</guid><description>&lt;p&gt;I previously played around with &lt;a href="https://myByways.com/post/wiring-up-node-js-and-mongodb-containers"&gt;MongoDB in a few containers&lt;/a&gt;. Recently, I tried &lt;a href="https://www.ibm.com/products/db2-database" rel="external"&gt;IBM Db2 Community Edition&lt;/a&gt; and learnt a few new things about containers along the way. The challenge was rolling my own &lt;a href="https://www.ibm.com/marketplace/data-server-manager" rel="external"&gt;Db2 Data Server Manager&lt;/a&gt; container, working around the background process that the startup script kicks off.&lt;/p&gt;</description></item><item><title>Automatically setup a development stack with Appsody</title><link>https://myByways.com/post/automatically-setup-a-development-stack-with-appsody/</link><pubDate>Thu, 05 Sep 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/automatically-setup-a-development-stack-with-appsody/</guid><description>&lt;p&gt;In a previous series of posts, I described how I &lt;a href="https://myByways.com/post/setting-up-node-js-in-a-docker-container"&gt;set up Node.js in a Docker container&lt;/a&gt; for development on my macBook. It’s quite a lot of steps!&lt;/p&gt;
&lt;p&gt;Well, there is a much simpler way - introducing &lt;a href="https://appsody.dev" rel="external"&gt;Appsody&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Creating a container with an entrypoint to run code</title><link>https://myByways.com/post/creating-a-container-with-an-entrypoint-to-run-code/</link><pubDate>Tue, 28 May 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/creating-a-container-with-an-entrypoint-to-run-code/</guid><description>&lt;p&gt;I recently wanted to test a web app written in &lt;a href="https://nodejs.org" rel="external"&gt;Node.js&lt;/a&gt; and exposed via fixed port. The instructions asked me to install &lt;strong&gt;Node.js&lt;/strong&gt; locally, which I resist! So, here is how I built my &lt;a href="https://docs.docker.com/install/" rel="external"&gt;Docker&lt;/a&gt; container to run the code.&lt;/p&gt;</description></item><item><title>Prototyping with a Node-RED container</title><link>https://myByways.com/post/prototyping-with-a-node-red-container/</link><pubDate>Tue, 16 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/prototyping-with-a-node-red-container/</guid><description>&lt;p&gt;If the preceding posts on &lt;strong&gt;Node.js&lt;/strong&gt; and &lt;strong&gt;MongoDB&lt;/strong&gt; have been too complex for you, let me introduce you to a simpler drag-and-drop “flow-editor,” &lt;a href="https://nodered.org/" rel="external"&gt;Node-RED.&lt;/a&gt;. It was developed and open-sourced by IBM, and is now hosted by the &lt;a href="https://js.foundation/" rel="external"&gt;OpenJS Foundation&lt;/a&gt; (the same foundation that hosts projects like &lt;strong&gt;jQuery&lt;/strong&gt;, and &lt;strong&gt;Dojo&lt;/strong&gt;). I’ve used &lt;strong&gt;Node-RED&lt;/strong&gt; for quick prototypes and demos, as it’s easy to explain each step of the flow. It saves a lot of coding effort and reduces errors buy providing built-in and pre-built third-party “nodes”.&lt;/p&gt;</description></item><item><title>Wiring up Node.js and MongoDB containers</title><link>https://myByways.com/post/wiring-up-node-js-and-mongodb-containers/</link><pubDate>Sat, 13 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/wiring-up-node-js-and-mongodb-containers/</guid><description>&lt;p&gt;&lt;a href="https://myByways.com/post/setting-up-node-js-in-a-docker-container"&gt;Previously, I described my development environment setup&lt;/a&gt; using &lt;a href="https://www.docker.com/" rel="external"&gt;Docker containers&lt;/a&gt;. I do it in a totally different way from most tutorials, which I don’t believe leverage containers and complicate things by having to build images for development.&lt;/p&gt;
&lt;p&gt;Here I explain how I wire up (i.e. network) a few containers - a &lt;a href="https://www.mongodb.com/" rel="external"&gt;MongoDB database&lt;/a&gt;, a &lt;a href="https://github.com/mongo-express/mongo-express" rel="external"&gt;Mongo Express&lt;/a&gt; User Interface to manage the database, and a &lt;a href="https://nodejs.org/" rel="external"&gt;Node.js&lt;/a&gt; container using &lt;a href="https://en.wikipedia.org/wiki/JSON_Web_Token" rel="external"&gt;JSON Web Tokens (JWT)&lt;/a&gt; to authenticate users against the database.&lt;/p&gt;</description></item><item><title>Setting up Node.js in a Docker container</title><link>https://myByways.com/post/setting-up-node-js-in-a-docker-container/</link><pubDate>Fri, 12 Apr 2019 00:00:00 +0000</pubDate><guid>https://myByways.com/post/setting-up-node-js-in-a-docker-container/</guid><description>&lt;p&gt;In this post I share with you how I set up a simple &lt;a href="https://www.docker.com/" rel="external"&gt;Docker&lt;/a&gt; &lt;strong&gt;container&lt;/strong&gt; for &lt;a href="https://nodejs.org/" rel="external"&gt;Node.js&lt;/a&gt; development. I’ve never found a simple tutorial for beginners that meets my needs!&lt;/p&gt;
&lt;p&gt;My requirement is to do all development debugging in a container, so I am assured of consistent behaviour in any environment. I do not want to install &lt;strong&gt;Node.js&lt;/strong&gt; or &lt;strong&gt;npm&lt;/strong&gt; locally on my mac! I cannot be bothered to use a &lt;strong&gt;Makefile&lt;/strong&gt; or &lt;strong&gt;Dockerfile&lt;/strong&gt; to build images - this is only required in the final stage for production!&lt;/p&gt;</description></item></channel></rss>