On Mac OS '10.13.5' with Docker '18.03.1-ce-mac65 (24312)' already installed:
$ brew cask install lando
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/cask).
==> Satisfying dependencies
==> Installing Cask dependencies: docker
==> Satisfying dependencies
==> Downloading https://download.docker.com/mac/stable/24312/Docker.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask docker
==> Installing Cask docker
==> Creating Caskroom at /usr/local/Caskroom
==> We'll set permissions properly so we won't need sudo in the future.
Password:
==> Purging files for version 18.03.1-ce-mac65,24312 of Cask docker
Error: It seems there is already an App at '/Applications/Docker.app'.
I might try to install Lando without Cask.
I just bumped into this too. You can remove your Docker app in /Applications/ and then run the brew command again.
Another 'problem' is that after the large Docker.dmg download brew downloads the Lando disk image which includes Docker (lando-v3.0.0-beta.47.dmg). Is there any possibility of not bundling Docker with Lando or having brew download Lando on its own somehow?
Another potential issue with brew installation method is that lando depends on docker which means that brew will install the latest stable docker version and will not install the version of docker that comes with Lando. I'm not sure why Lando packages Docker alongside the Lando code but I would imagine it is to control the version and ensure a tested Docker version works with a specific Lando version.
Thanks @tanc - removing /Applications/Docker.app was the only way to proceed via homebrew.
We don't directly maintain the brew formula for Lando, so technically this isn't supported. We might automate updates to the formula at some future date, but until we do that, just consider it ymmv / caveat emptor territory.
Most helpful comment
I just bumped into this too. You can remove your Docker app in
/Applications/and then run thebrewcommand again.Another 'problem' is that after the large Docker.dmg download brew downloads the Lando disk image which includes Docker (
lando-v3.0.0-beta.47.dmg). Is there any possibility of not bundling Docker with Lando or having brew download Lando on its own somehow?