MicrosoftDocs / Virtualization-Documentation

Place to store our documentation, code samples, etc for public consumption.
http://docs.microsoft.com/virtualization/
Creative Commons Attribution 4.0 International
1.79k stars 1.54k forks source link

Running powershell script to install Docker CE #1966

Open MihaiDaniel opened 4 months ago

MihaiDaniel commented 4 months ago

Running the script on the page to quickly install docker CE does not work.

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
.\install-docker-ce.ps1

Invoke-WebRequest: Parameter cannot be processed because the parameter name 'o' is ambiguous. Possible matches include: -OperationTimeoutSeconds -OutFile -OutVariable -OutBuffer.

I'm using Windows Server 2016 (Version 1607) and PowerShell 7


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ntrappe-msft commented 3 months ago

Try using the install scripts from the Windows Containers GitHub.