- #DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT FOR MAC#
- #DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT INSTALL#
- #DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT WINDOWS 10#
- #DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT PLUS#
I have the minikube start command set up in a start-docker.sh script I can run when needed, and the minikube docker-env in my shell startup (. Minikube start -driver =hyperkit -keep-context # this is where it errors on Apple SiliconĮval $(minikube docker-env ) # tells docker CLI in your *current shell* to use minikube's docker daemon
#DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT INSTALL#
# pre-req: full install of XCode needed - just the CLI isn't enough #īrew install hyperkit # this fails on Apple Silicon: īrew install docker # don't use -cask - that's Docker Desktop!
The instructions that follow are heavily based on this excellent blog post, which has some additional advice, especially if you want to get more out of the local Kubernetes cluster: It’s fully docker compliant, if there is such a thing. I used this on my older Macbook for a little while before replacing it with Rancher Desktop. This is the most “drop-in” replacement in the list, but does not work on M1 Macs. Okay, enough of that Windows nonsense - onto the MacOS stuff now …
#DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT WINDOWS 10#
Note that Rancher Desktop also works perfectly fine on Windows 10 too it seems - it takes care of the WSL installation for you behind the scenes if you don’t want to roll your sleeves up and get into that sort of thing. sudo dockerd > /tmp/dockerd.log 2>&1 &), as WSL has its own startup routines (that Docker Desktop was handling for us)
I was pretty confident that this worked without Docker Desktop. This is easy to setup without Docker Desktop.Ī brief aside - I occasionally use Windows 10 with WSL v2 installed too ? (sidebar: it actually works pretty well to be honest!). There’s also a brief nod at the start to Windows + WSL, which I use very occasionally. If for whatever reason this does not work for you, then I’ve left the other options I’ve tried out previously below, as well as a little more detailed instructions and some of the thought process that went into this also.
#DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT PLUS#
Local Kubernetes support is also a minor plus for me. This has recently added Apple Silicon support and gets my vote as it provides both this + the docker CLI + volume host mounting all in one easy to install package. Updated : Rancher Desktop ( rancherdesktop.io) provide a package that has a similar feel to Docker Desktop - download and install it, let the wizard do its thing and you’re up and running within a few minutes. Hopefully having these options together in one blog post is somewhat helpful in choosing between them too! These are of course noted wherever I’ve used them, with a few tweaks of my own I’ve made on top of these excellent guides.
#DOCKER DESKTOP KEEP PORTS FROM CHANGING ON REBOOT FOR MAC#
I tried out three four options for Mac - landing on one as my preference as it covered both the need to run on the newer Apple Silicon and allow mounting of volumes on the host OS, which is something I do fairly frequently (mostly to shorten the feedback loop when testing changes that run on an image intended to run in CI).ĭisclaimer: Most of the steps detailed below were found through following other fantastic blog posts I found out there ?. This article will mostly focus on MacOS, although there is a brief note about Windows/WSL included for completeness too.
Without going into any detail about it, let’s just say I’m not a fan of taking something that you’ve made freely available previously and deciding that you now want to charge for it!įrom this ‘Is Docker in Trouble?’ Blog Post
In this blog post I’m going to talk through my recent experiences as I attempted to ditch Docker Desktop - the licensing changes that come into effect at the end of January being the primary motivator.