cask 'docker-edge' do version '17.09.0-ce-mac31,19478' sha256 '78dda792036d808555818cfef5dc039bff1662881ef59499deb4851bc6e53334' url "https://download.docker.com/mac/edge/#{version.after_comma}/Docker.dmg" appcast 'https://download.docker.com/mac/edge/appcast.xml', checkpoint: '1763e8cfe5b53adca5aba8775ff9c9ba18d41471e059addcc559370421a4d6e1' 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', launchctl: [ 'com.docker.helper', 'com.docker.vmnetd', ], quit: 'com.docker.docker' zap delete: [ '~/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', ], trash: '~/Library/Preferences/com.docker.docker.plist', rmdir: [ '~/Library/Caches/KSCrashReports', '~/Library/Caches/com.plausiblelabs.crashreporter.data', ] end