![]() ![]() So to use our remote Docker engine all we need to do is set the DOCKER_HOST environment variable to the location of that Docker instance: export can add this to your shell's config and you are good to go. ![]() ![]() If you try any Docker commands after this you will only get errors, which is expected. (You likely need to use the version of brew installed under Rosetta). While the Docker engine doesn't work on M1, the Docker CLI does, you can install it e.g. The only requirement is that it has Docker installed. This is pretty easy to do and all you need is a Linux machine somewhere I use a Hetzner Cloud VPS (referral link, we both receive credits) for this - it's very cheap and I can use a VPS in the Helsinki data center, so the latency is minimal for me) but you can use any Linux server. Luckily there is another option we can use as workaround for now, and that option is a remote Docker engine. I did try that solution, but the VM was somehow unstable, resulting in frequent kernel panics so I couldn't actually work with it. Docker for Desktop cannot run on these Macs yet, but someone got Docker working in a virtual machine somehow. But this means that I had to find a workaround for Docker since I depend on it quite a bit. ![]() I bought an M1 Mac Mini a week ago and couldn't be happier. If you already own a Mac powered by the new M1 SoC designed by Apple ("Apple silicon"), or are interested in getting one, you probably know by now that Docker doesn't work on these machines yet, nor does virtualization in general (Docker is a Linux technology of course, so it requires virtualization to run on other operating systems). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |