Install Docker on Windows pro/server
Open an elevated PowerShell session and run the following commands.
First, install the Docker-Microsoft PackageManagement Provider from the PowerShell Gallery.
PowerShell
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Next, you use the PackageManagement PowerShell module to install the latest version of Docker.
PowerShell
Install-Package -Name docker -ProviderName DockerMsftProvider
When PowerShell asks you whether to trust the package source 'DockerDefault', type
A
to continue the installation. When the installation is complete, reboot the computer.PowerShell
Restart-Computer -Force
- See also:
Update Docker on Windows pro/server
Comments
Post a Comment