How To Use Docker Compose To Build And Run Windows Containers

preview_player
Показать описание

Docker compose is a tool that can be used to define and run multi-container Docker applications. In this video, Matt will walk through how to create a YAML file to configure a simple 2 Windows container application. The YAML file will define 2 “services”, IIS and SQL. Once the services are defined in the YAML file, we will use “docker-compose build” to build the services to check for any errors. Once the build completes successfully, we will us “docker-compose up” to build and start the containers for our services. We will also go over the difference of running containers in the background with Docker Compose. Finally, we will go over how to stop and remove containers using “docker-compose down”, “docker-compose stop” and “docker-compose rm”

Рекомендации по теме
Комментарии
Автор

Do we need wsl to to run docker-compose on windows server. I tried to install using pip install -U docker-compose. I am getting error as 'Getting requirements to build wheel did not run successfully.'

deepalijoshi
Автор

you did not include any source code. how do we gonna follow this if we had an unexpected error that wasn't mentioned in your videos?

abdullahsaid
Автор

You lost me before I even began. How do you even get to this "Compose" window? Docker's documentation says Compose is installed alongside Docker Desktop... WHERE? There's nothing on my whole computer called "Compose". This is ridiculous; how can anyone claim Docker makes anything easier when just figuring out how to open the program is harder than installing an entire WAMP setup from scratch?

stevenleonmusic