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

Installing base OS images and verifying installation

The following steps will explain how to connect to an Azure VM and verify whether the machine is ready for Windows Server Container development:

  1. Once the VM is created and running, the status of the VM on the tile will be shown as Running:

We can connect to Azure VMs primarily in two ways using RDP and remote PowerShell. In this sample, we will be using RDP to connect to the Azure VM.

  1. Select the tile and click on the connect icon. This downloads a remote desktop client to your local machine, as shown in the following screenshot:

If you are using any browser other than IE 10 or Edge, please check for the .rdp file in the respective downloads folder.

  1. Double-click the .rdp file and click Connect to connect to the VM.
  2. Enter the username and password used while creating the VM to log in to the VM.
  3. Ignore the Security Certificate Warning and click on Yes.
  4. Ensure that the containers feature is installed by running the following command:
       Get-WindowsFeature -Name Containers

This should show Installed in the Install State of containers, as shown in the following screenshot:

  1. Ensure that the Docker client and engine is installed using the following commands on PowerShell CLI and verify the version:
       docker version

The preceding command gives the following output:

docker info provides the current state of the Docker daemon, such as the number of containers running, paused or stopped, the number of images, and so on, as shown in the following screenshot:

主站蜘蛛池模板: 滁州市| 塘沽区| 工布江达县| 柘荣县| 响水县| 克什克腾旗| 呈贡县| 策勒县| 曲靖市| 桐庐县| 洪洞县| 永平县| 奉新县| 微山县| 汽车| 东莞市| 三门县| 赫章县| 常州市| 日喀则市| 丹棱县| 玉林市| 白城市| 新宁县| 中超| 乌兰浩特市| 合阳县| 青龙| 娄烦县| 铅山县| 嘉禾县| 岳阳县| 岳西县| 木兰县| 滨海县| 桃园市| 淮阳县| 皋兰县| 微博| 鹤庆县| 青川县|