Skip to content

October 5, 2025

Docker: Spawn Linux tools on macOS within seconds.

docker

I recently came across an old, corrupted Git repository of mine and just wanted to use git-repair, which was, unfortunately, not available via Homebrew. Instead, I opted to spawn Ubuntu and mount my current folder into the container:

docker run -it -v $PWD:/app ubuntu /bin/bash

Usually you want to run another apt update before you

apt update

And you are ready to install (as always with caution)!