


If you’ve never run a docker file move to ‘New Method’ and skip the below. # In order to use the `docker` runtime:Ĭolima start -runtime docker # export DOCKER_HOST = "unix:// $/.colima/default/docker.Docker is fast becoming the latest trend in web development, as such after downloading a docker file you’ll probably want to run it locally on your machine for testing and development like I did, so checkout the below! In the comments, reported Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Try reinstalling: brew unlink colima # If it is already installed, uninstall it firstĬolima start -runtime docker docker ps # success Troubleshooting 2 scroll up to TL DR :) Troubleshooting 1įATA error starting vm: error at ‘starting’: exit status 1 I’ve asked multiple people how to do it and nobody had a good answer, or at least, nobody had an answer that worked on M1 Macs, until now.įor my 2022 New Mac Setup guide I resolved to figure it out once and for all, and what you see here is what I ended up with! OK I’m ready to try it!

In fact, new users can go pretty far without even realizing that you don’t need Docker Desktop to run the Docker daemon. The constant upgrade nags until you pay them also don’t inspire any love whatsoever.ĭocker Desktop is Docker (the company)‘s first wedge into getting you to run proprietary software, so Docker strongly guides you to download it as the only way to get started: ContextĪlthough I am known for loving Docker (the containerization technology), I am also known for being a critic of Docker Desktop (the desktop UI client for Docker) for its poor performance: You can also run docker-compose up as per normal but without needing Docker Desktop. You’ll need to do this the first time you run the docker binary in every session. Now you can start the docker daemon with colima start. chmod +x /usr/local/bin/docker-compose to let it execute.sudo curl -L -o /usr/local/bin/docker-compose for M1 Macs.Install the right docker-compose binary for your chipset from the releases page.brew install colima ( colima replaces the docker/dockerd binary).
