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

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:

主站蜘蛛池模板: 前郭尔| 绩溪县| 临清市| 江城| 寿阳县| 博野县| 循化| 遂平县| 绿春县| 玛纳斯县| 台中县| 昭通市| 临颍县| 余江县| 三河市| 健康| 忻城县| 金坛市| 榆社县| 平江县| 桦南县| 大荔县| 枞阳县| 女性| 会昌县| 祁连县| 拜城县| 韶山市| 伊吾县| 凤台县| 迭部县| 寿宁县| 乃东县| 阳曲县| 古田县| 尼木县| 皮山县| 环江| 锦州市| 莆田市| 中山市|