Downloads:
57,617
Downloads of v 26.0.2:
10
Last Update:
19 Apr 2024
Published Date:
19 Apr 2024
Package Maintainer(s):
Software Author(s):
- Docker Contributors
Tags:
docker devops containersDocker Engine
(Ready for review)
- 1
- 2
- 3
26.0.2 | Updated: 19 Apr 2024
Downloads:
57,617
Downloads of v 26.0.2:
10
Published:
19 Apr 2024
Maintainer(s):
Software Author(s):
- Docker Contributors
Docker Engine 26.0.2
(Ready for review)
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.
- Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
- This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
- You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
- There are also no guarantees that it will be approved.
There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.
Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. This package contains the docker engine for Windows to run Windows containers on Windows hosts.
NOTE: Docker engine for Windows is is simply the service to run containers. You might want to have a look at the "docker-desktop" package for better usability.
From v23 docker engine is installed into $env:ProgramFiles\docker
(the default docker location). A shim is still generated for the docker cli.
Package Specific
This package by default creates the group docker-users
and adds the installing user to it, you can customise this with package parameters. In order to communicate with docker you will need to log out and back in.
Please Note: The docker engine requires the Windows Features: Containers and Microsoft-Hyper-V to be installed in order to function correctly. You can install these with the chocolatey command:
choco install Containers Microsoft-Hyper-V --source windowsfeatures
Package Parameters
The following package parameters can be set:
/DockerGroup:
- Name of the user group for using docker - defaults to "docker-users"/noAddGroupUser
- Prevent adding the current user to the DockerGroup/StartService
- Automatically start (or restart) the docker service after install (or upgrade)
To pass parameters, use --params "''"
(e.g. choco install docker-engine [other options] --params="'/DockerGroup:my-docker-group /noAddGroupUser'"
).
To have choco remember parameters on upgrade, be sure to set choco feature enable -n=useRememberedArgumentsForUpgrades
.
Please Note: If you change the DockerGroup having previously installed docker-engine, the daemon.json
config file will not be overwritten, you will need to manually update it.
# This runs in 0.9.10+ before upgrade and uninstall.
# Use this file to do things like stop services prior to upgrade or uninstall.
# NOTE: It is an anti-pattern to call chocolateyUninstall.ps1 from here. If you
# need to uninstall an MSI prior to upgrade, put the functionality in this
# file without calling the uninstall script. Make it idempotent in the
# uninstall script so that it doesn't fail when it is already uninstalled.
# NOTE: For upgrades - like the uninstall script, this script always runs from
# the currently installed version, not from the new upgraded package version.
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. "$toolsDir\helper.ps1"
Test-DockerdConflict
If ((Test-OurDockerd) -AND (Test-DockerdRunning))
{
#Shutdown and unregister service for upgrade
Write-output "Stopping docker service..."
Start-ChocolateyProcessAsAdmin -Statements "stop docker" "C:\Windows\System32\sc.exe"
Start-Sleep -seconds 3
If (-not (Test-DockerdStopped))
{
Throw "Could not stop the docker service, please stop manually and retry this package."
}
}
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
. "$toolsDir\helper.ps1"
Test-DockerdConflict
If (Test-OurDockerd)
{
Write-output "Unregistering docker service..."
Start-ChocolateyProcessAsAdmin -Statements "delete docker" "C:\Windows\System32\sc.exe"
}
Uninstall-BinFile -Name "docker"
Uninstall-ChocolateyZipPackage $env:ChocolateyPackageName "docker-$($env:ChocolateyPackageVersion).zip"
$EditionId = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' -Name 'EditionID').EditionId
$RunningOnNano = $False
If ($EditionId -ilike '*Nano*') {
$RunningOnNano = $True
}
Function Test-ServicePath ($ServiceEXE, $FolderToCheck)
{
if ($RunningOnNano) {
#The NANO TP5 Compatible Way:
Return ([bool](@(wmic service | Where-Object {$_ -ilike "*$ServiceEXE*"}) -ilike "*$FolderToCheck*"))
}
Else
{
#The modern way:
Return ([bool]((Get-WmiObject win32_service | Where-Object {$_.PathName -ilike "*$ServiceEXE*"} | Select-Object -expand PathName) -ilike "*$FolderToCheck*"))
}
}
Function Test-OurDockerd
{
return (Test-ServicePath 'dockerd.exe' "$env:ProgramFiles") -Or (Test-ServicePath 'dockerd.exe' "$toolsDir")
}
Function Test-OurOldDockerd
{
return Test-ServicePath 'dockerd.exe' "$toolsDir"
}
Function Test-DockerdConflict
{
If (-not (Test-OurDockerd) -AND (sc.exe query docker | Select-String 'SERVICE_NAME: docker' -Quiet))
{
$ExistingDockerInstancePath = Get-ItemProperty hklm:\system\currentcontrolset\services\* | Where-Object {($_.ImagePath -ilike '*dockerd.exe*')} | Select-Object -expand ImagePath
Throw "You have requested that the docker service be installed, but this system appears to have an instance of an docker service configured for another folder ($ExistingDockerInstancePath). You will need to remove that instance of Docker to use the one that comes with this package."
}
}
Function Test-DockerdRunning
{
return [bool](C:\Windows\System32\sc.exe query docker | Select-String 'RUNNING' -Quiet)
}
Function Test-DockerdStopped
{
return [bool](C:\Windows\System32\sc.exe query docker | Select-String 'STOPPED' -Quiet)
}
Log in or click on link to see number of positives.
- docker-engine.26.0.2.nupkg (b44a67071991) - ## / 65
- docker-26.0.2.zip (91de4b913dec) - ## / 63
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 Engine 26.1.0 | 1217 | Tuesday, April 23, 2024 | Approved | |
Docker Engine 26.0.2 | 10 | Friday, April 19, 2024 | Ready | |
Docker Engine 26.0.1 | 407 | Friday, April 19, 2024 | Approved | |
Docker Engine 26.0.0 | 2292 | Thursday, March 21, 2024 | Approved | |
Docker Engine 25.0.5 | 16 | Thursday, March 21, 2024 | Approved | |
Docker Engine 25.0.4 | 1414 | Thursday, March 7, 2024 | Approved | |
Docker Engine 25.0.3.20240227 | 656 | Friday, March 1, 2024 | Approved | |
Docker Engine 25.0.3 | 2232 | Wednesday, February 7, 2024 | Approved | |
Docker Engine 25.0.2 | 1059 | Thursday, February 1, 2024 | Approved | |
Docker Engine 25.0.1 | 735 | Wednesday, January 24, 2024 | Approved | |
Docker Engine 25.0.0 | 293 | Monday, January 22, 2024 | Approved | |
Docker Engine 24.0.7.20231201 | 3197 | Friday, December 1, 2023 | Approved | |
Docker Engine 24.0.7 | 1337 | Wednesday, November 15, 2023 | Approved | |
Docker Engine 24.0.6 | 5991 | Wednesday, September 13, 2023 | Approved | |
Docker Engine 24.0.4 | 10252 | Friday, July 14, 2023 | Approved | |
Docker Engine 24.0.1 | 2780 | Monday, May 22, 2023 | Approved | |
Docker Engine 24.0.0 | 295 | Wednesday, May 17, 2023 | Approved | |
Docker Engine 23.0.6 | 282 | Tuesday, May 16, 2023 | Approved | |
Docker Engine 23.0.5 | 735 | Tuesday, May 2, 2023 | Approved | |
Docker Engine 23.0.4 | 659 | Tuesday, April 18, 2023 | Approved | |
Docker Engine 23.0.3 | 824 | Wednesday, April 5, 2023 | Approved | |
Docker Engine 23.0.2 | 620 | Tuesday, March 28, 2023 | Approved | |
Docker Engine 23.0.1 | 2121 | Friday, February 10, 2023 | Approved | |
Docker Engine 23.0.0 | 426 | Friday, February 3, 2023 | Approved | |
Docker Engine 20.10.24 | 169 | Wednesday, April 5, 2023 | Approved | |
Docker Engine 20.10.23 | 905 | Friday, January 20, 2023 | Approved | |
Docker Engine 20.10.22 | 1287 | Friday, December 16, 2022 | Approved | |
Docker Engine 20.10.21 | 43 | Friday, December 16, 2022 | Approved | |
Docker Engine 20.10.20 | 2134 | Wednesday, October 19, 2022 | Approved | |
Docker Engine 20.10.19 | 88 | Wednesday, October 19, 2022 | Approved | |
Docker Engine 20.10.18 | 2514 | Friday, September 9, 2022 | Approved | |
Docker Engine 20.10.17 | 2655 | Thursday, June 9, 2022 | Approved | |
Docker Engine 20.10.16 | 845 | Friday, May 13, 2022 | Approved | |
Docker Engine 20.10.15 | 283 | Monday, May 9, 2022 | Approved | |
Docker Engine 20.10.14 | 1850 | Thursday, March 24, 2022 | Approved | |
Docker Engine 20.10.13 | 559 | Tuesday, March 15, 2022 | Approved | |
Docker Engine 20.10.12 | 1198 | Monday, January 31, 2022 | Approved | |
Docker Engine 20.10.11 | 1547 | Monday, November 29, 2021 | Approved | |
Docker Engine 20.10.10 | 497 | Wednesday, November 3, 2021 | Approved | |
Docker Engine 20.10.9 | 447 | Thursday, October 21, 2021 | Approved | |
Docker Engine 20.10.8 | 746 | Wednesday, September 22, 2021 | Approved |
This package has no dependencies.
Ground Rules:
- This discussion is only about Docker Engine and the Docker Engine 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 Engine, 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.
ajdurant (maintainer) on 19 Apr 2024 08:21:21 +00:00:
User 'ajdurant' (maintainer) submitted package.
chocolatey-ops (reviewer) on 19 Apr 2024 08:57:05 +00:00:
docker-engine has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.
Guidelines
Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.
chocolatey-ops (reviewer) on 19 Apr 2024 09:29:13 +00:00:
docker-engine has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/de5afec785e84b1a0b4af52de5c2a3a2 for details.
This is an FYI only. There is no action you need to take.
chocolatey-ops (reviewer) on 19 Apr 2024 09:53:50 +00:00:
docker-engine has been flagged as part of automated virus scanning.
Package virus scanning found that at least 1 file within, or downloaded by, the package has between 6 and 10 VirusTotal detections associated with it.
This package version cannot be approved without an exemption from a Moderator.