Skip to content

Instantly share code, notes, and snippets.

@hoatle
Last active August 25, 2016 04:55
Show Gist options
  • Save hoatle/c52cb91d759aab2fdfe1242370893511 to your computer and use it in GitHub Desktop.
Save hoatle/c52cb91d759aab2fdfe1242370893511 to your computer and use it in GitHub Desktop.
Docker for Mac cask
# Adapted from https://github.com/caskroom/homebrew-cask/pull/20512
cask 'docker' do
version :latest
sha256 :no_check
url 'https://download.docker.com/mac/stable/Docker.dmg'
name 'Docker'
homepage 'https://docs.docker.com/docker-for-mac/'
license :gratis
app 'Docker.app'
uninstall_preflight do
system "#{staged_path}/Docker.app/Contents/MacOS/Docker", '--uninstall'
end
uninstall pkgutil: 'com.docker.docker'
end
@hoatle
Copy link
Author

hoatle commented Aug 25, 2016

how to install:

$ brew cask install <link to this raw file>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment