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

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:

主站蜘蛛池模板: 黎平县| 文登市| 乌拉特前旗| 陇西县| 云南省| 三明市| 乌苏市| 博罗县| 丰原市| 望城县| 兴城市| 揭东县| 乌什县| 钦州市| 融水| 铜鼓县| 灵丘县| 建始县| 米泉市| 浑源县| 安溪县| 塔河县| 淮滨县| 大渡口区| 怀安县| 五寨县| 安庆市| 英德市| 安陆市| 阳东县| 巩义市| 澄城县| 双柏县| 青川县| 福建省| 彰化县| 饶平县| 宁河县| 宁陕县| 儋州市| 武汉市|