Docker Community Forums

Share and learn in the Docker community.

Unattended install?


(Penguinjeff) #1

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
password

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?


(Penguinjeff) #2

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.


(Cdaf) #3

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


(Cdaf) #4

Note, I have authored this script for unattended install on Windows Server https://github.com/cdaf/windows/blob/master/automation/provisioning/installDocker.ps1