BUILD YOUR DOCKER IMAGE IN DOCKER FOR MAC FULLYou don't have to specify the full path to your local # Used to specify that you want to copy the WWWroot folder to the IIS inetpub WWWroot # Copies contents of the wwwroot folder to the inetpub/wwwroot folder in the new container image # to specify that you will pull the most recent image version available. # Microsoft and the application is IIS with the "latest" tag name being used # (shown as microsoft/iis:latest) so in our case the owner of the image is # Notice that the naming convention is "**owner/application name : tag name**" # Used to specify which base container image will be used by the build process. # Specifies that the latest microsoft/iis image will be used as the base image This puts the console’s current working directory to C:\Containers to default all downloads to this directory. Once the folder is created, change to that directory. To do so, open a Powershell or cmd terminal (you’ll be using PowerShell throughout this article) and create a new directory called C:\Containers. You’ll first need a folder to store all of the Docker images and containers you’ll be building from those images. Note: Be sure to enable Windows Containers Configuration when installing Docker. However feel free to use what ever IDE you’d prefer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |