Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to generate an image through the Dockerfile of vs2017

Shulou Source: shulou.com Published: 2022-06-02 03:50:43 10月04日 Update

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.

Tags: Support mirror generate that is platform application file program application thing content can be passed through command address place foundation client client container point to Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MariaDB Docker Microsoft Linux