Mac

Create Ramdisk on MacOS

ramdisk.sh: This script creates a ramdisk with the first parameter taken as gigabytes. So runnning ./ramdisk.sh 16 will create a disk with 16 gigabytes and it will be named “ramdisk-16gb” and accessible via /Volumes/ramdisk-16gb. It will show up in finder as mounted volume. To get rid of it simply unmount it with the small icon […]

Create Ramdisk on MacOS Read More »

Sudo Timeout on MacOS

I’m using homebrew and its casks a lot to install software on my MacBook. This way I’m using a custom script comparable to a simple apt update && apt dist-upgrade on a Linux sysmtem. My update script looks like the following: Running this keeps most of my system up to date. I only have a

Sudo Timeout on MacOS Read More »

Fix blackhole-2ch on MacOS – Could not kickstart service “com.apple.audio.coreaudiod”: 1: Operation not permitted

Recently I received this error while upgrading or uninstalling blackhole-2ch via brew: Could not kickstart service “com.apple.audio.coreaudiod”: 1: Operation not permitted This was fixed by the following: Another option seems to be to fix the issue with kickstart as described here. But I didn’t try that.

Fix blackhole-2ch on MacOS – Could not kickstart service “com.apple.audio.coreaudiod”: 1: Operation not permitted Read More »

Homebrew Cask Update Tool: Your macOS Equivalent to Linux’s APT

If you’re a macOS user who appreciates the convenience of package management tools like APT on Linux, then Homebrew Cask Update Tool is a game-changer you won’t want to miss. This nifty tool, available at https://github.com/buo/homebrew-cask-upgrade, brings the simplicity and efficiency of Linux package management to your Mac. Homebrew Cask Update Tool makes updating your

Homebrew Cask Update Tool: Your macOS Equivalent to Linux’s APT Read More »

docker pull proxyconnect tcp: dial tcp: lookup http.docker.internal on 192.168.65… timeout

After upgrading to macOS 14.1 my docker installation stopped woring and when I tried to pull an image it answered with the following error message: 192.168.65.0/24 is the configured docker internal network of Docker Desktop. It was running on defaults and I wasn’t aware of any manual changes. DNS of my host system worked properly:

docker pull proxyconnect tcp: dial tcp: lookup http.docker.internal on 192.168.65… timeout Read More »

How to create docker containers for multiple platforms / architectures

First you need to choose a base image that is available for the target platforms as well. Create your Dockerfile as usual and then build the container for different platforms. This example would create an amd64 and a aarch64 (arm64/v8) image: Based on these you can create a manifest and upload it: This would already

How to create docker containers for multiple platforms / architectures Read More »