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 · 4 comments

Comments

Projects
None yet
4 participants
@PieterDC
Copy link

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link
Contributor

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

This comment has been minimized.

Copy link

commented Sep 11, 2018

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

@dustinleblanc

This comment has been minimized.

Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.