How to generate an image through the Dockerfile of vs2017
Dockerfile this thing we have been introduced before, it is convenient, fast, easy to use, and in vs2017 also supports docker, and the way to generate docker image is based on the use of Dockerfile, after adding docker support, vs will generate a Dockerfile file for us in the root directory, we can compile this Dockerfile through the docker client, and build an image file, extremely convenient!
You can download the windows version of the installation package on the docker platform. You currently need to install a plug-in for toolbox
After startup, the system will assign an IP address to docker for external access to your container!
If you want to create a new image from Dockerfile in vs2017's project, you can use the docker build command so that you can migrate your application!
Note that when doing docker build, you are pointing to all the directories in Dockfile.
In this way, a widows platform + vs2017 docker image is established!
View our mirror image
Docker images
If you want to deploy this application somewhere in the future, just docker run!
It's easy enough!
The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.