Docker Desktop Silent Install (How-To Guide)


Docker Desktop for Windows is an application that provides an easy-to-use development environment for building, shipping, and running dockerized apps. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Docker Desktop for Windows from the command line using both EXE & MSI installers.

How to Install Docker Desktop Silently

Docker Desktop for Windows Silent Install (EXE)

  1. Navigate to: https://www.docker.com/products/docker-desktop
  2. Select Download for Windows
  3. Download the EXE to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command:
    • "Docker Desktop Installer.exe" install --quiet
  7. Press Enter

After a few minutes you should see the Docker Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Docker Desktop
Vendor:Docker Inc.
Version:2.3.0.4
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:"Docker Desktop Installer.exe" install --quiet
Silent Uninstall Switch:"%ProgramFiles%\Docker\Docker\Docker Desktop Installer.exe" uninstall --quiet
Download Link:https://www.docker.com/products/docker-desktop
PowerShell Script:https://silentinstallhq.com/docker-desktop-install-and-uninstall-powershell/

Docker Desktop Enterprise on Windows Silent Install (MSI)

  1. Navigate to:
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • MsiExec.exe /i DockerDesktop.msi /qn
  6. Press Enter

After a few minutes you should see the Docker Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Docker Desktop Enterprise
Vendor:Docker Inc.
Architecture:x86_x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i DockerDesktop.msi /qn
Silent Uninstall Switch:MsiExec.exe /x DockerDesktop.msi /qn
Repair Command:MsiExec.exe /fa DockerDesktop.msi /qn
Download Link:https://download.docker.com/win/enterprise/DockerDesktop.msi
PowerShell Script:https://silentinstallhq.com/docker-desktop-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The MSI installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

Docker Desktop Enterprise on Windows (MSI) Silent Install w/ Logging

MsiExec.exe /i DockerDesktop.msi /qn /L*v "%WINDIR%\Temp\Docker-Install.log"

Change Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Docker Desktop to “C:\Docker”

MsiExec.exe /i DockerDesktop.msi INSTALLDIR=C:\Docker /qn

Exclude Desktop Shortcut During Install

The Docker Desktop Enterprise on Windows (MSI) installer creates a desktop shortcut by default. If you don’t want the desktop shortcut, then you can run the following command line switch to exclude it.

MsiExec.exe /i DockerDesktop.msi DESKTOPSHORTCUT=no /qn

How to Uninstall Docker Desktop Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Docker Desktop for Windows (EXE) Silent Uninstall

"%ProgramFiles%\Docker\Docker\Docker Desktop Installer.exe" uninstall --quiet

Docker Desktop Enterprise on Windows (MSI) Silent Uninstall

MsiExec.exe /x DockerDesktop.msi /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts