I had to manually ln colima’s docker.sock to the default to get AWS SAM to work. Regardless of setting the env variable or docker context, it would always try to use the default docker.sock.
You've been able to `brew install docker-machine` for like 10 years. Docker Desktop just gave you a UI for stopping and starting things. Eventually they added some kubernetes stuff and a kubernetes context switcher. Dunno what else it did since I always installed via brew.
I would have been a docker desktop user for years but the one time I went to install it they required me to create an account to get to the download.
The only way to get Docker to work on MacOS and Windows is to spin up a linux VM, install Docker in that VM, and pipe through all the calls to it. You can always do this manually using your VM of choice. There are a bunch of tools which make this more seamless, Docker Desktop being one of them. Alternatives are Podman, Colima, Rancher Desktop, all of them with their own pros and cons.
Docker uses container functionality specific to the Linux kernel. So on Linux, you can install a relatively lightweight engine. But on MacOS or Windows, you need to install the entire "Docker Desktop" app, which secretly spins up a Linux VM in the background, and presents a (pretty poor) abstraction as if this is all running on the host machine.
On Windows, you don't really need to use Docker Desktop, I personally find it more convenient to run just plain old Docker in WSL. It's still a Linux VM, but you get more control over it.
I never understood what the point of Docker Desktop was on Windows if WSL exists.
docker-machine from brew sets up the linux vm using one of a few virtualization options. iirc I always used bhyve and never had to give it a second thought.
your question is confusing, docker-desktop is a gui utility. rancher-desktop is the equivalent to that.
if you don't want a command line, docker itself (the underlying utility that the docker-desktop GUI drives) is free, in contrast to the GUI portion. Or kubernetes.
Nope, none of this is correct. Docker only runs on Linux. The core purpose of Docker Desktop (and similar tools) is to spin up a Linux VM under the hood and manage its lifecycle, route network calls, share volumes etc. You can do all of this yourself of course, but it will be a non-trivial amount of effort to set it up.
"brew install docker" is just another way to install Docker Desktop. It does not run Docker natively on MacOS, because that is impossible.
Again, please actually look at the commands you are referencing before spreading misinformation, you are confidently incorrect and being rude about it.
Not only that but the information you are providing has legal implications because these two (completely different!) pieces of software have different licensing... docker-desktop is commercial license, not open-source!
You clearly do not understand the distinction here between the docker CLI utility and backend, and the docker GUI application, and it's very important here.
rancher-desktop is the equivalent to docker-desktop, ie the commercial portion, and docker itself can be used freely because it is (as I said) open source.
https://github.com/abiosoft/colima