How To Create A Windows Docker Image From A Dockerfile Using Docker Build

Published: 05 October 2018
on channel: TechSnips by ATA Learning
39k
166

If you enjoyed this video, be sure to head over to to get free access to our entire library of content!

The Docker Commit command is useful for manually creating container images. However, with a Dockerfile and the Docker Build command, images can be created through better automation making container creation consistent and easier to integrate into the development cycle. Dockerfiles are simply text files which contain the instructions for creating a new container image by specifying an image base, commands to be run during the setup process of a container and what commands are to be run when a container image is deployed. In this video, Matt will demonstrate using a Dockerfile with a Windows container. He will cover how to specify a base container image to be used when creating a new image, specify commands to be run and captured into the new container image, copy files to the new container image and specify a command to run when new containers are started from the new image.
Prerequisites include:
Docker
Download microsoft/IIS container image
Recommended Snips:
How to Install Docker in Windows Server 2016
How To Install Docker For Windows In Windows 10
How to Download Container Images from Docker Hub
How to Run Commands in Docker Containers
How to Commit Changes to a New Container Image With Docker Commit
How to Create a Docker Cloud Repository
How to Push a Docker Container Image to a Docker Cloud Repository

Head over to adamtheautomator.com now for hundreds of in-depth, informative how-to articles just like this!


Watch video How To Create A Windows Docker Image From A Dockerfile Using Docker Build online without registration, duration 07 minute 36 second in high hd quality. This video was added by user TechSnips by ATA Learning 05 October 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 39 thousand once and liked it 166 people.