Docker Community Forums

Share and learn in the Docker community.

Unattended install?

I was reading here

but when I tried this over psexec nothing happens. It never installs.

I tried

psexec \machine -u domain\user -s cmd

cd docker installer location
"Docker for Windows Installer.exe" install --quiet

I wait about 5 minutes as some installers take a bit but still
nothing happens

tries “/qn” option just for kicks and giggles and /S option like I use to install x2go remotely.

Is there a way to run this as an unattended install?

Ahh interesting I tried running it on that machine with no arguments and get an error message:
“Failed to install: Windows version not compatible. Check documentation for minimal requirements.” message.
So maybe this will work with a supported version of windows.

choco install -y docker-for-windows --no-progress --fail-on-standard-error
shutdown /r /t 0

Note, I have authored this script for unattended install on Windows Server

To create a silent setup, you must be logged into the computer with a log in account that has administrative privileges. Users who run the silent setup must be logged into their computers with a log in account that has administrative privileges krogerfeedback

.\“Docker for Windows Installer.exe” install --quiet

Great topic! An unattended installation is the traditional method of deploying a Windows operating system. Unattended installations use an answer file named Unattend.xml, which contains user input to various GUI dialog boxes that appear during the installation process.