91
CHAPTER 4 | Development process for Docker-based applications
Figure 5-15. Simplified workflow when developing with Visual Studio
In addition, you need to perform step 2 (adding Docker support to your projects) just once. Therefore,
the workflow is similar to your usual development tasks when using .NET for any other development.
You need to know what is going on under the covers (the image build process, what base images
you’re using, deployment of containers, etc.) and sometimes you will also need to edit the
Dockerfile
or docker-compose.yml file to customize behaviors. But most of the work is greatly simplified by using
Visual Studio, making you a lot more productive.
Using PowerShell commands in a Dockerfile to set up Windows
Containers
Windows Containers
allow you to convert your existing Windows applications into Docker images and
deploy them with the same tools as the rest of the Docker ecosystem. To use Windows Containers,
you run PowerShell commands in the Dockerfile, as shown in the following example:
Dostları ilə paylaş: