cask 'docker-edge' do version '17.12.0-ce-rc4-mac44,21438' sha256 '7e32290241663d9790cd1d4943e2f2693bb6d84a2d7e2feab47ac9cc090f16b0' url "https://download.docker.com/mac/edge/#{version.after_comma}/Docker.dmg" appcast 'https://download.docker.com/mac/edge/appcast.xml', checkpoint: '9e4e555d1f10719952a29107f63f23e00a607b05841e493e34891d1cd2b65e94' name 'Docker Community Edition for Mac (Edge)' name 'Docker CE for Mac (Edge)' homepage 'https://www.docker.com/community-edition' auto_updates true depends_on macos: '>= :yosemite' app 'Docker.app' uninstall delete: [ '/Library/PrivilegedHelperTools/com.docker.vmnetd', '/usr/local/bin/docker', '/usr/local/bin/docker-compose', '/usr/local/bin/docker-credential-osxkeychain', '/usr/local/bin/docker-machine', '/usr/local/bin/hyperkit', '/usr/local/bin/notary', '/usr/local/bin/vpnkit', ], launchctl: [ 'com.docker.helper', 'com.docker.vmnetd', ], quit: 'com.docker.docker' zap trash: [ '~/Library/Application Scripts/com.docker.helper', '~/Library/Caches/KSCrashReports/Docker', '~/Library/Caches/com.docker.docker', '~/Library/Caches/com.plausiblelabs.crashreporter.data/com.docker.docker', '~/Library/Containers/com.docker.docker', '~/Library/Containers/com.docker.helper', '~/Library/Group Containers/group.com.docker', '~/Library/Preferences/com.docker.docker.plist', ], rmdir: [ '~/Library/Caches/KSCrashReports', '~/Library/Caches/com.plausiblelabs.crashreporter.data', ] end