MCSA 70-740 Cert Guide: Installation, Storage, and Compute with Windows Server 2016 (Certification Guide) by Anthony Sequeira

MCSA 70-740 Cert Guide: Installation, Storage, and Compute with Windows Server 2016 (Certification Guide) by Anthony Sequeira

Author:Anthony Sequeira [Sequeira, Anthony]
Language: eng
Format: epub, azw3
Publisher: Pearson Education
Published: 2017-05-10T18:30:00+00:00


# For persistent use, will apply even after a reboot.

[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\

Program Files\Docker", [EnvironmentVariableTarget]::Machine)

Step 8. To access the remote Docker host, use the docker -H parameter, like this:

Click here to view code image

docker -H tcp://<IPADDRESS>:2375 run -it microsoft/nanoserver cmd

Step 9. Create an environmental variable DOCKER_HOST to remove the -H parameter requirement. You can use the following PowerShell command for this:

Click here to view code image

$env:DOCKER_HOST = "tcp://<ipaddress of server>:2375"

To deploy Hyper-V containers, the Hyper-V role is required on the container host. If the Windows container host is itself a Hyper-V virtual machine, nested virtualization needs to be enabled. Follow these steps to add the Hyper-V role:

Step 1. Install the Hyper-V role on the Nano Server container host:

Click here to view code image

Install-NanoServerPackage Microsoft-NanoServer-Compute-Package

Step 2. Reboot the Nano Server host after the Hyper-V role has been installed:

Restart-Computer



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.