The heart of this is docker-machine which is deprecated
Yup.. > Docker Machine has been deprecated. Please use Docker Desktop instead. https://docs.docker.com/machine/
Docker for Mac Without Docker Desktop
141–150 of 198 posts
Re: Docker for Mac Without Docker Desktop
#142Earlier quoted context omitted.
Is this a short term issue or is nobody working on docker-compose 3.x compatibility?
I assume you meant 2.x; Compose 2.x is only ~4 months old. I believe the intention of the Podman team is to abandon their podman-compose and work on compatibility with docker-compose 2.x going forward.
Re: Docker for Mac Without Docker Desktop
#143Earlier quoted context omitted.
Quoted post unavailable.
> macOS is mainly targeted at secretaries, managers and artists. Counterpoint: I've never seen someone in the Bay Area developing on a Windows machine, in any company I've worked at. In my experience, locally, it's more like 95% Mac, 5% Linux, and 0% Windows. Now, I know that neither of our anecdotes represent the state of the world in general, but the notion that "Macs are for non-techies" is laughable on the face o…
What is important is having a set of keystrokes that make sense to me (the mac command button does not work well on my PC laptops, and remapping just makes stuff worse) and don't change over decades.
Re: Docker for Mac Without Docker Desktop
#144We set up IP aliases on lo0, and bind containers to individual addresses. This lets multiple containers and their services be directly accessible from the host - and e.g. applications running in Windows on VirtualBox - without having to remap ports. I don't think any of the alternatives support this. I know Colima does not. I don't think anything including Docker Desktop have a way to expose the docker bridge adapter directly to the host.
Re: Docker for Mac Without Docker Desktop
#145As others have pointed out, Virtualbox doesn't work on ARM (M1). A few months ago I switched to a new setup on my M1 Max: running a Ubuntu VM in UTM ( https://mac.getutm.app/ ), and installing Docker there. I use Mutagen ( https://mutagen.io/ ) for syncing files between macOS and the VM, which works really well. There is a 10x-20x speed improvement running a large PHP (Drupal) project through the VM than Docker for M…
Any additional guidance or resources you can point to for setup with UTM and Mutagen? Lando on macOS with Docker Desktop is driving me insane...
- https://mac.getutm.app/gallery/ubuntu-20-04 - https://docs.docker.com/engine/install/ubuntu/ - https://mutagen.io/documentation/introduction/installation
I create my Mutagen sync with a command like:
mutagen sync create --name=mysite ~/Sites/mysite ubuntu@192.168.64.2:~/mysite --ignore=node_modules,vendor --ignore-vcs --default-owner-alpha=tallytarik --default-group-alpha=staff
As well as the `--default-owner-` switches, I had some file permission issues on the Docker side. I ended up using `setfacl` to enforce really permissive permissions on `~/mysite` on the VM side, otherwise some Docker containers would complain. It turns out Docker for Mac fakes some file permissions, which is why it wasn't a problem before.Other than that, it mostly just worked! Feel free to get in touch if you have more specific questions.
Re: Docker for Mac Without Docker Desktop
#146I know people doing docker dev are generally targeting a Linux of some sort, but why the heck doesn't the macOS kernel support native containerization? Come on Apple. Microsoft can do it. edit: this seems like a new development since my last whine/complaint on this topic: https://macoscontainers.org/
Re: Docker for Mac Without Docker Desktop
#147Re: Docker for Mac Without Docker Desktop
#148As others have pointed out, Virtualbox doesn't work on ARM (M1). A few months ago I switched to a new setup on my M1 Max: running a Ubuntu VM in UTM ( https://mac.getutm.app/ ), and installing Docker there. I use Mutagen ( https://mutagen.io/ ) for syncing files between macOS and the VM, which works really well. There is a 10x-20x speed improvement running a large PHP (Drupal) project through the VM than Docker for M…
Re: Docker for Mac Without Docker Desktop
#149This won't work on the new M1 macs since it uses VirtualBox
Yeah :( Ever since I switched to an M1, I haven't found a way to reliably build and run x86_64 containers on it. Docker desktop with Qemu is not just painfully slow, it's also very buggy and some containers just can't be built without crashing. Is there any alternative?
Re: Docker for Mac Without Docker Desktop
#150Earlier quoted context omitted.
I assume you meant 2.x; Compose 2.x is only ~4 months old. I believe the intention of the Podman team is to abandon their podman-compose and work on compatibility with docker-compose 2.x going forward.
The version of the file format is different to the version of the CLI tool. Compose (the file format) 3.x was introduced with Compose (the tool) version 1.10 in 2017: https://github.com/docker/compose/releases/tag/1.10.0