Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install via Cask fails if Docker already installed #1100

Closed
PieterDC opened this issue Jul 13, 2018 · 5 comments
Closed

Install via Cask fails if Docker already installed #1100

PieterDC opened this issue Jul 13, 2018 · 5 comments

Comments

@PieterDC
Copy link

@PieterDC PieterDC commented Jul 13, 2018

Bug Report

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.

@tanc
Copy link
Contributor

@tanc tanc commented Aug 17, 2018

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?

@tanc
Copy link
Contributor

@tanc tanc commented Aug 23, 2018

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.

@jerrylow
Copy link

@jerrylow jerrylow commented Sep 11, 2018

Thanks @tanc - removing /Applications/Docker.app was the only way to proceed via homebrew.

@dustinleblanc
Copy link
Collaborator

@dustinleblanc dustinleblanc commented Oct 22, 2018

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.

@voraciousdev
Copy link

@voraciousdev voraciousdev commented Aug 10, 2021

For others that stumble upon this... I ran into this same problem without a Docker.app install. Instead, I ran into this problem after trying to run brew install --cask docker after running brew install docker. Running brew remove docker first solved it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants