cask 'docker-edge' do version '17.09.0-ce-rc2-mac29,19275' sha256 '300fd320f686f195031b0afb78682a0047dbf4a181f45096a97b1378a25348d6' url "https://download.docker.com/mac/edge/#{version.after_comma}/Docker.dmg" appcast 'https://download.docker.com/mac/edge/appcast.xml', checkpoint: '192c6d417852405bd415659f73218f877fef78ab3d908e60fa2220324213eb1a' 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