February 2019
Beginner to intermediate
542 pages
10h 34m
English
Containers can be used in a variety of ways. In most cases, you are going to want to build your own custom images, complete with an operating system, OS features, and applications. A great way to build your image is to use a Dockerfile containing the instructions for building a new image, and then use the docker build command to create a customized container you can then run.
In this recipe, you use the container host, CH1, that you set up in the Configuring a container host recipe.
Set-Location to the folder on CH1:$SitePath = 'C:\RKWebContainer' $NIHT = @{ Path = $SitePath ItemType = 'Directory' ErrorAction = 'SilentlyContinue' } New-Item @NIHT | Out-Null ...