I have BlueStacks.app installed in MacOS High Sierra, but I havenât used it in a long time. I think it does not use resources running in the background when I havenât launched it, but Iâm not certain of that.
Yesterday, I used
curl -sL https://ibm.biz/idt-installer | bash
to install a lot of software for this CognitiveClass.ai course (CO0201EN) in Kubernetes that Iâm taking.
That bash script seems to have installed a lot of new software, including docker:
$ curl -sL https://ibm.biz/idt-installer | bash
[main] --==[ IBM Cloud Developer Tools for Linux/MacOS - Installer, v1.2.3 ]==--
[install] Starting Update...
[install] Note: You may be prompted for your 'sudo' password during install.
[install_darwin_deps] Checking for external dependency: brew
[install_darwin_deps] Installing/updating external dependency: git
[install_darwin_deps] Installing/updating external dependency: docker
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.
==> Downloading https://download.docker.com/mac/stable/39773/Docker.dmg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'docker'.
==> Installing Cask docker
==> Moving App 'Docker.app' to '/Applications/Docker.app'.
đș docker was successfully installed!
[...the rest snipped for brevity...]
But running âdockerâ from the command-line in a Terminal.app fails with:
$ docker build --tag us.icr.io/<my_namespace>/hello-world .
-bash: docker: command not found
I launched a new Terminal and tried again with the same error result. When I look in /Applications, I see that Docker.app is installed there (Version 2.1.0.4, created October 21, 2019 at 5:06 AM). I suppose that must be the Docker Desktop app. So I guessed that maybe I needed to run it at least once before the docker command-line tools would become available. When tried to launch it, I saw another error message:
" BlueStacks Detected : BlueStacks will crash the operating system if Docker runs in the same macOS boot session after BlueStacks has run. We recommend uninstalling BlueStacks in order to use Docker Desktop." (bold emphasis not present in original, but it seems to imply that even if I last launched BlueStacks.app more than 6 months ago, it still represents an OS crash waiting to happen if I âStart [Docker.app] Anywayâ)
I chose âExitâ there, rather than âStart Anywayâ.
So in the output above, I see âdocker was successfully installed!â as output from brew, and yet Iâm unable to run docker at the command-line.
My experience is almost 4 years past the original post in this thread and almost 2 years past @patrickdrusk post indicating that heâs running both concurrently with no issues. I havenât tried launching BlueStacks.app in more than 6 months, and Iâve only tried launching Docker.app in the last day, but the warning I see from attempting to launch Docker Version 2.1.0.4, created October 21, 2019 at 5:06 AM seems to indicate that these two apps still do not play nicely together on the same computer.
Can anyone comment on this from experience? If I donât run BlueStacks.app simultaneously (just have it installed), is it safe to click âStart Anywayâ when I see this ominous error from Docker.app? Or maybe I should just uninstall BlueStacks.app just to be on the safe side? It seems like a great tool though, and I may start using it again soon, so Iâd rather not uninstall it if I donât have to.