Development process for Docker-based applications ....................................................... 72
Development environment for Docker apps ............................................................................................................. 72
Development tool choices: IDE or editor ................................................................................................................ 72
.NET languages and frameworks for Docker containers ....................................................................................... 73
Development workflow for Docker apps ..................................................................................................................... 73
Workflow for developing Docker container-based applications .................................................................. 73
Step 1. Start coding and create your initial application or service baseline ............................................. 75
Step 2. Create a Dockerfile related to an existing .NET base image ............................................................ 76
Step 3. Create your custom Docker images and embed your application or service in them .......... 83
Step 4. Define your services in docker-compose.yml when building a multi-container Docker
application .......................................................................................................................................................................... 84
Step 5. Build and run your Docker application .................................................................................................... 86
Step 6. Test your Docker application using your local Docker host ............................................................ 89
iv
Contents
Simplified workflow when developing containers with Visual Studio ........................................................ 90
Using PowerShell commands in a Dockerfile to set up Windows Containers ......................................... 91