From 1bbcf3b066892257d4b581196d10e1b4f3ac1445 Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Sun, 30 Apr 2023 04:15:24 -0400 Subject: [PATCH 1/3] Added docker CLI tools install caveat The added caveat should clarify how to add the CLI tools after installing the cask. Fixes [#46078 (comment)](https://github.com/Homebrew/homebrew-cask/issues/146078#issuecomment-1527319437) --- Casks/docker.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Casks/docker.rb b/Casks/docker.rb index 93f7a6d000ac1..a420769a0151c 100644 --- a/Casks/docker.rb +++ b/Casks/docker.rb @@ -116,6 +116,11 @@ ] caveats <<~EOS + For CLI tools, you might need to open the Docker app for further instructions. You may use one of the following commands: + + open /Applications/Docker.app + open -a Docker + If your CLI tools were symlinked to $HOME/.docker/bin your path should be modified to include: $HOME/.docker/bin From 7b0678873bc9501aa358d0b58c91662d530b02ce Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Wed, 3 May 2023 21:58:40 -0400 Subject: [PATCH 2/3] edit caveats --- Casks/docker.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Casks/docker.rb b/Casks/docker.rb index a420769a0151c..9944ee53d3fd1 100644 --- a/Casks/docker.rb +++ b/Casks/docker.rb @@ -116,13 +116,14 @@ ] caveats <<~EOS - For CLI tools, you might need to open the Docker app for further instructions. You may use one of the following commands: + CLI tools are installed after launching Docker. They will be symlinked to one of the following + based on your preference: - open /Applications/Docker.app - open -a Docker + /usr/local/bin + $HOME/.docker/bin If your CLI tools were symlinked to $HOME/.docker/bin your path should be modified to include: - $HOME/.docker/bin + $HOME/.docker/bin EOS end From b549f793606ed2909095a8cbb0e610f8bcb978ea Mon Sep 17 00:00:00 2001 From: Razvan Azamfirei Date: Wed, 3 May 2023 22:08:14 -0400 Subject: [PATCH 3/3] alignment --- Casks/docker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/docker.rb b/Casks/docker.rb index 9944ee53d3fd1..6f6d0233423c4 100644 --- a/Casks/docker.rb +++ b/Casks/docker.rb @@ -124,6 +124,6 @@ If your CLI tools were symlinked to $HOME/.docker/bin your path should be modified to include: - $HOME/.docker/bin + $HOME/.docker/bin EOS end