From the command line the Docker Desktop Installer (Community Edition) waits for a user to hit return after the installation completes. Wrapping this command in Start-Process
with the -Wait
switch allows it to run to completion without blocking for user-input (which is ideal for automated installations).
Note: Mirantis does not support the Community Edition (CE) Docker Desktop Installer
PowerShell Script Invoke-DockerDesktopInstaller.ps1
The script in this repository invokes the Docker Desktop Installer.exe
program and passes the return code from the executable to the calling process for ease of use w/automation.