PrerequisitesTo run containers on Windows Server, you need a physical server or virtual machine running Windows Server (Semi-Annual Channel), Windows Server 2019, or Windows Server 2016. It is recommended to update the server firstWindows Server 2016 already supports Docker technology, and the official information is also provided: https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/quick-start-windows-server There will be no problem referring to this link in general, but there is still a big pitfall. Install Docker To install Docker on Windows Server, you can use the OneGet provider PowerShell module published by Microsoft, called DockerMicrosoftProvider. This provider enables the container functionality in Windows and installs the Docker engine and client. Here’s how to do it:
If prompted to install the NuGet provider, also type Y to install it.
When PowerShell asks whether to trust the package source "DockerDefault", type A to proceed with the installation.
If you wish to update Docker later, do the following:
verifyEnter docker version:
At this point, the Docker installation is complete. Next, you can download some Docker files to play with, for example, by executing:
This example will automatically download the Docker file and run it, but the download speed is extremely slow. I hope your download is successful. Problems encountered Unable to use
Solution:
In addition, please ensure that your machine can access the Internet.
References: [1] https://cloud.tencent.com/developer/article/1378641 [2] https://docs.microsoft.com/zh-cn/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-Server This is the end of this article about installing Docker on Windows Server 2016. For more information about installing Docker on Windows Server 2016, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Introduction to the graphic composition and typesetting capabilities of web design
>>: Detailed explanation of data sharing between Vue components
IE8 new feature Web Slices (Web Slices) Microsoft...
Under Ubuntu 18.04 1. sudo apt install python ins...
effect: The GROUP_CONCAT function can concatenate...
Three ways to introduce CSS 1. Inline styles Adva...
Effect: css: .s_type { border: none; border-radiu...
Method 1: Use the SET PASSWORD command MySQL -u r...
Table of contents JSON.parse JSON.parse Syntax re...
MVCC MVCC (Multi-Version Concurrency Control) is ...
There are two types: (different browsers) 1. Avail...
I encountered this problem today. I reassigned the...
<br />Structure and hierarchy reduce complex...
background Since I was assigned to a new project ...
I installed IE8 today. When I went to the Microso...
Recently, when I was learning docker, I found tha...
The previous article introduced a detailed exampl...