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

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:

主站蜘蛛池模板: 株洲县| 青河县| 广东省| 黑水县| 化州市| 青岛市| 图们市| 磐石市| 金湖县| 苏尼特左旗| 治多县| 桂林市| 阿尔山市| 和平区| 怀化市| 抚宁县| 绥宁县| 黄陵县| 铅山县| 视频| 聊城市| 庆城县| 太白县| 牙克石市| 洛阳市| 夹江县| 和硕县| 阜平县| 淳安县| 沅江市| 五指山市| 沾益县| 淳化县| 石门县| 福安市| 富源县| 扶沟县| 宝应县| 鹿邑县| 云阳县| 中方县|