Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

1,019,116

Downloads of v 2.4.2.0-edge:

1,301

Last Update:

19 Oct 2020

Package Maintainer(s):

Software Author(s):

  • Docker Inc.

Tags:

docker-for-windows docker-desktop docker admin

Docker Desktop

This is a prerelease version of Docker Desktop.

  • 1
  • 2
  • 3

2.4.2.0-edge | Updated: 19 Oct 2020

Downloads:

1,019,116

Downloads of v 2.4.2.0-edge:

1,301

Maintainer(s):

Software Author(s):

  • Docker Inc.

Docker Desktop 2.4.2.0-edge

This is a prerelease version of Docker Desktop.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Exemption for this package version only:

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Docker Desktop, run the following command from the command line or from PowerShell:

>

To upgrade Docker Desktop, run the following command from the command line or from PowerShell:

>

To uninstall Docker Desktop, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade docker-desktop -y --source="'INTERNAL REPO URL'" --version="'2.4.2.0-edge'" --prerelease [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade docker-desktop -y --source="'INTERNAL REPO URL'" --version="'2.4.2.0-edge'" --prerelease
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install docker-desktop
  win_chocolatey:
    name: docker-desktop
    version: '2.4.2.0-edge'
    source: INTERNAL REPO URL
    state: present
    allow_prerelease: yes

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'docker-desktop' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.4.2.0-edge'
  options  '--prerelease'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller docker-desktop
{
    Name        = "docker-desktop"
    Version     = "2.4.2.0-edge"
    Source      = "INTERNAL REPO URL"
    chocoParams = "--prerelease"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'docker-desktop':
  ensure          => '2.4.2.0-edge',
  install_options => ['--prerelease'],
  provider        => 'chocolatey',
  source          => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved as a trusted package on 20 Oct 2020.

Description

Docker Desktop is an easy-to-install application for your Mac or Windows environment that enables you to start coding and containerizing in minutes. Docker Desktop includes everything you need to build, test and ship containerized applications right from your machine.

Benefits include:

  • 1-click installation and setup of a complete Docker development environment for Mac or Windows
  • Integrated tools including the Docker command line, Docker Compose and kubectl command line
  • Ability to start/stop with a single click

Stable channel

Stable is the best channel to use if you want a reliable platform to work with. Stable releases track the Docker platform stable releases.


tools\chocolateyuninstall.ps1


$ErrorActionPreference = 'Stop';

$packageName = 'docker-desktop'
$softwareName = 'docker*'
$installerType = 'EXE' 

$silentArgs = 'uninstall --quiet'
$validExitCodes = @(0, 3010, 1605, 1614, 1641)
if ($installerType -ne 'MSI') {
  $validExitCodes = @(0)
}

$uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
  $key | % { 
    $file = "$($_.UninstallString)"

    if ($installerType -eq 'MSI') {
      $silentArgs = "$($_.PSChildName) $silentArgs"

      $file = ''
    }

    # remove parameter
    $file = $file -replace ' uninstall$', '';
    write-output "uninstalling from $file"
    Uninstall-ChocolateyPackage -PackageName $packageName `
                                -FileType $installerType `
                                -SilentArgs "$silentArgs" `
                                -ValidExitCodes $validExitCodes `
                                -File "$file"
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$key.Count matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $_.DisplayName"}
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop';

$packageName= 'docker-desktop'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url        = 'https://desktop.docker.com/win/edge/48975/Docker%20Desktop%20Installer.exe'
$checksum   = 'cb7d064c58ca1a474b802622daeebc1df7d929bec943b537110f1e7d7dd80db9'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  url           = $url

  softwareName  = 'docker*'

  checksum      = $checksum
  checksumType  = 'sha256'
 
  silentArgs    = "install --quiet"
  validExitCodes= @(0, 3010, 1641)
}

Install-ChocolateyPackage @packageArgs

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Docker Desktop 4.18.0 16332 Thursday, April 6, 2023 Approved
Docker Desktop 4.17.1 15974 Monday, March 20, 2023 Approved
Docker Desktop 4.17.0 16465 Monday, February 27, 2023 Approved
Docker Desktop 4.16.3 19425 Monday, January 30, 2023 Approved
Docker Desktop 4.16.2 9360 Friday, January 20, 2023 Approved
Docker Desktop 4.16.1 8109 Friday, January 13, 2023 Approved
Docker Desktop 4.16.0 2380 Thursday, January 12, 2023 Approved
Docker Desktop 4.15.0 25289 Thursday, December 1, 2022 Approved
Docker Desktop 4.14.1 11611 Thursday, November 17, 2022 Approved
Docker Desktop 4.14.0 7975 Thursday, November 10, 2022 Approved
Docker Desktop 4.13.1 10226 Monday, October 31, 2022 Approved
Docker Desktop 4.13.0 8967 Wednesday, October 19, 2022 Approved
Docker Desktop 4.12.0 25466 Friday, September 2, 2022 Approved
Docker Desktop 4.11.1 18559 Saturday, August 6, 2022 Approved
Docker Desktop 4.11.0 7854 Thursday, July 28, 2022 Approved
Docker Desktop 4.10.1 15517 Tuesday, July 5, 2022 Approved
Docker Desktop 4.10.0 5246 Friday, July 1, 2022 Approved
Docker Desktop 4.9.1 11213 Thursday, June 16, 2022 Approved
Docker Desktop 4.9.0 11256 Thursday, June 2, 2022 Approved
Docker Desktop 4.8.2 11546 Wednesday, May 18, 2022 Approved
Docker Desktop 4.8.1 8972 Monday, May 9, 2022 Approved
Docker Desktop 4.7.1 14493 Tuesday, April 19, 2022 Approved
Docker Desktop 4.7.0 15326 Thursday, April 7, 2022 Approved
Docker Desktop 4.6.1 14114 Tuesday, March 22, 2022 Approved
Docker Desktop 4.6.0 8390 Tuesday, March 15, 2022 Approved
Docker Desktop 4.5.1 18515 Tuesday, February 15, 2022 Approved
Docker Desktop 4.5.0 4583 Friday, February 11, 2022 Approved
Docker Desktop 4.4.4 15481 Monday, January 24, 2022 Approved
Docker Desktop 4.4.3 9607 Friday, January 14, 2022 Approved
Docker Desktop 4.4.2 2285 Thursday, January 13, 2022 Approved
Docker Desktop 4.3.2 15325 Wednesday, December 22, 2021 Approved
Docker Desktop 4.3.1 9246 Sunday, December 12, 2021 Approved
Docker Desktop 4.3.0 8234 Thursday, December 2, 2021 Approved
Docker Desktop 4.2.0 16737 Tuesday, November 9, 2021 Approved
Docker Desktop 4.1.1 19153 Tuesday, October 12, 2021 Approved
Docker Desktop 4.1.0 10850 Thursday, September 30, 2021 Approved
Docker Desktop 4.0.1 13783 Monday, September 13, 2021 Exempted
Docker Desktop 4.0.0 11373 Wednesday, September 1, 2021 Approved
Docker Desktop 3.6.0.20210906 259 Monday, September 6, 2021 Exempted
Docker Desktop 3.6.0 14077 Wednesday, August 11, 2021 Exempted
Docker Desktop 3.6.0-edge 156 Wednesday, August 11, 2021 Exempted
Docker Desktop 3.5.2.20210906 137 Monday, September 6, 2021 Exempted
Docker Desktop 3.5.2 20376 Thursday, July 8, 2021 Approved
Docker Desktop 3.5.2-edge 136 Thursday, July 8, 2021 Approved
Docker Desktop 3.5.1.20210906 68 Monday, September 6, 2021 Exempted
Docker Desktop 3.5.1 10457 Friday, June 25, 2021 Approved
Docker Desktop 3.5.1-edge 78 Friday, June 25, 2021 Approved
Docker Desktop 3.5.0.20210906 54 Monday, September 6, 2021 Exempted
Docker Desktop 3.5.0 3515 Wednesday, June 23, 2021 Approved
Docker Desktop 3.5.0-edge 86 Wednesday, June 23, 2021 Approved
Docker Desktop 3.4.0.20210906 76 Monday, September 6, 2021 Exempted
Docker Desktop 3.4.0 10756 Wednesday, June 9, 2021 Approved
Docker Desktop 3.4.0-edge 73 Wednesday, June 9, 2021 Approved
Docker Desktop 3.3.3.20210906 66 Monday, September 6, 2021 Exempted
Docker Desktop 3.3.3 37340 Thursday, May 6, 2021 Approved
Docker Desktop 3.3.3-edge 97 Thursday, May 6, 2021 Approved
Docker Desktop 3.3.2 4386 Monday, May 3, 2021 Approved
Docker Desktop 3.3.2-edge 68 Monday, May 3, 2021 Approved
Docker Desktop 3.3.1 11563 Friday, April 16, 2021 Approved
Docker Desktop 3.3.1-edge 89 Friday, April 16, 2021 Approved
Docker Desktop 3.3.0 7344 Friday, April 9, 2021 Approved
Docker Desktop 3.2.2.20210906 54 Monday, September 6, 2021 Exempted
Docker Desktop 3.2.2 15124 Monday, March 15, 2021 Approved
Docker Desktop 3.2.2-edge 90 Monday, March 15, 2021 Approved
Docker Desktop 3.2.1 13576 Friday, March 5, 2021 Approved
Docker Desktop 3.2.1-edge 225 Friday, March 5, 2021 Approved
Docker Desktop 3.2.0 4709 Tuesday, March 2, 2021 Approved
Docker Desktop 3.2.0-edge 87 Tuesday, March 2, 2021 Approved
Docker Desktop 3.1.0 31115 Monday, January 18, 2021 Approved
Docker Desktop 3.1.0-edge 99 Monday, January 18, 2021 Approved
Docker Desktop 3.0.4 11368 Thursday, January 7, 2021 Approved
Docker Desktop 3.0.4-edge 101 Thursday, January 7, 2021 Approved
Docker Desktop 3.0.0 16417 Thursday, December 17, 2020 Approved
Docker Desktop 3.0.0-edge 116 Thursday, December 17, 2020 Approved
Docker Desktop 2.5.1.0-edge 1376 Wednesday, November 18, 2020 Exempted
Docker Desktop 2.5.0.20210906 85 Monday, September 6, 2021 Exempted
Docker Desktop 2.5.0.1 25005 Tuesday, November 17, 2020 Approved
Docker Desktop 2.4.2.0-edge 1301 Monday, October 19, 2020 Approved
Docker Desktop 2.4.1.0-edge 687 Thursday, October 1, 2020 Approved
Docker Desktop 2.4.0.0 26548 Wednesday, September 30, 2020 Approved
Docker Desktop 2.3.7.0-edge 579 Friday, September 18, 2020 Approved
Docker Desktop 2.3.6.2-edge 394 Thursday, September 10, 2020 Approved
Docker Desktop 2.3.6.1-edge 187 Tuesday, September 8, 2020 Approved
Docker Desktop 2.3.6.0-edge 396 Tuesday, September 1, 2020 Approved
Docker Desktop 2.3.5.1-edge 386 Tuesday, August 25, 2020 Approved
Docker Desktop 2.3.5.0-edge 310 Friday, August 21, 2020 Approved
Docker Desktop 2.3.4.0-edge 767 Wednesday, July 29, 2020 Approved
Docker Desktop 2.3.3.2-edge 322 Wednesday, July 22, 2020 Approved
Docker Desktop 2.3.3.1-edge 386 Saturday, July 11, 2020 Approved
Docker Desktop 2.3.3.0-edge 129 Friday, July 10, 2020 Approved
Docker Desktop 2.3.2.1-edge 404 Tuesday, June 30, 2020 Approved
Docker Desktop 2.3.2.0-edge 268 Saturday, June 27, 2020 Approved
Docker Desktop 2.3.1.0-edge 1314 Wednesday, May 20, 2020 Approved
Docker Desktop 2.3.0.5 9647 Tuesday, September 15, 2020 Approved
Docker Desktop 2.3.0.4 19301 Monday, July 27, 2020 Approved
Docker Desktop 2.3.0.3 21595 Wednesday, May 27, 2020 Approved
Docker Desktop 2.3.0.2 9481 Monday, May 11, 2020 Approved
Docker Desktop 2.3.0.1-edge 489 Tuesday, April 28, 2020 Approved
Docker Desktop 2.3.0.0-edge 371 Monday, April 20, 2020 Approved
Docker Desktop 2.2.3.0-edge 534 Thursday, April 2, 2020 Approved
Docker Desktop 2.2.2.0-edge 774 Monday, March 2, 2020 Approved
Docker Desktop 2.2.1.0-edge 164 Wednesday, February 12, 2020 Approved
Docker Desktop 2.2.0.5 16292 Thursday, April 2, 2020 Approved
Docker Desktop 2.2.0.4 9949 Friday, March 13, 2020 Approved
Docker Desktop 2.2.0.3 14668 Tuesday, February 11, 2020 Approved
Docker Desktop 2.1.7.0-edge 938 Wednesday, December 11, 2019 Approved
Docker Desktop 2.1.6.1-edge 589 Thursday, November 21, 2019 Approved
Docker Desktop 2.1.6.0-edge 293 Monday, November 18, 2019 Approved
Docker Desktop 2.1.5.0-edge 456 Monday, November 4, 2019 Approved
Docker Desktop 2.1.4.0-edge 511 Tuesday, October 15, 2019 Approved
Docker Desktop 2.1.3.0-edge 696 Monday, September 16, 2019 Approved
Docker Desktop 2.1.2.0-edge 383 Monday, September 9, 2019 Approved
Docker Desktop 2.1.1.0-edge 855 Monday, August 12, 2019 Approved
Docker Desktop 2.1.0.5 22501 Monday, November 18, 2019 Approved
Docker Desktop 2.1.0.4 11208 Monday, October 21, 2019 Approved
Docker Desktop 2.1.0.3 14291 Monday, September 16, 2019 Approved
Docker Desktop 2.1.0.2 6090 Wednesday, September 4, 2019 Approved
Docker Desktop 2.1.0.1 11738 Thursday, August 8, 2019 Approved
Docker Desktop 2.1.0.0 4252 Wednesday, July 31, 2019 Approved
Docker Desktop 2.1.0.0-edge 264 Tuesday, July 30, 2019 Approved
Docker Desktop 2.0.5.0-edge 881 Wednesday, June 12, 2019 Approved
Docker Desktop 2.0.4.1-edge 707 Thursday, May 9, 2019 Approved
Docker Desktop 2.0.4.0-edge 361 Tuesday, April 30, 2019 Approved
Docker Desktop 2.0.3.0-edge 1051 Tuesday, March 5, 2019 Approved
Docker Desktop 2.0.2.1-edge 404 Thursday, February 14, 2019 Exempted
Docker Desktop 2.0.2.0-edge 323 Wednesday, February 6, 2019 Exempted
Docker Desktop 2.0.1.0-edge 457 Monday, January 14, 2019 Exempted
Docker Desktop 2.0.0.3 34648 Thursday, February 14, 2019 Approved
Docker Desktop 2.0.0.2 8565 Tuesday, January 15, 2019 Approved
Docker Desktop 2.0.0.0 9243 Wednesday, November 21, 2018 Approved

This package has no dependencies.

Discussion for the Docker Desktop Package

Ground Rules:

  • This discussion is only about Docker Desktop and the Docker Desktop package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Docker Desktop, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus