官术网_书友最值得收藏!

Windows 2016 Docker Engine install

On our Docker Enterprise subnet, we install a Windows Server 2016 node and initiate a remote desktop session. Open a standard PowerShell Terminal to install the DockerMsftProvider module and then install the Docker package. For the latest information about installing Docker Enterprise on Windows Server, visit https://beta.docs.docker.com/install/windows/docker-ee/#use-a-script-to-install-docker-ee:

Install-Module DockerMsftProvider -Force 
Install-Package Docker -ProviderName DockerMsftProvider -Force

In the following PowerShell block, we check to see whether a restart is necessary. If it is, we issue the Restart-Computer command to restart Windows 2016 Server:

(Install-WindowsFeature Containers).RestartNeeded
Restart-Computer

After a possible restart, we log back in to the server and look at the docker info command to see that the Docker Enterprise version is installed as shown in following Figure 6.

For our setup, we should see an 18.09 server running on Windows kernel 10. The docker info command show a lot of useful details about the Docker Engine and can be really helpful for troubleshooting:

PS> docker info

Here's the output from the docker info command. Please note the highlighted versions:

Figure 6: Docker Info After Docker Windows Install
You may be wondering why you didn't need the storebits URL from the Docker Store to install the Docker Enterprise Engine on Windows Server. It is because Docker Enterprise Basic comes with Windows Server 2016 Datacenter, Standard, and Essentials Editions and its support is provided by Microsoft and backed by Docker. So, if you own Microsoft Windows 2016, access to Docker Enterprise Basic is already included.
主站蜘蛛池模板: 定陶县| 永和县| 昭通市| 新泰市| 稻城县| 漳州市| 绵阳市| 保康县| 黄石市| 平凉市| 奇台县| 洪雅县| 西乌| 屯留县| 三台县| 修文县| 甘泉县| 黔江区| 丹阳市| 宿松县| 腾冲县| 金溪县| 福鼎市| 东丽区| 资中县| 陵川县| 巴塘县| 乌兰察布市| 南丰县| 华阴市| 苏尼特右旗| 会泽县| 南川市| 河西区| 天峨县| 内丘县| 漯河市| 和平区| 郓城县| 凯里市| 衡阳县|