88
CHAPTER 4 | Development process for Docker-based applications
Using Docker CLI
To run a multi-container application with the Docker CLI, you use the
docker-compose up
command.
This command uses the
docker-compose.yml
file that you have at the solution level to deploy a
multi-container application. Figure 5-11 shows the results when running the command from your
main solution directory, which contains the docker-compose.yml file.
Figure 5-11. Example results when running the docker-compose up command
After the docker-compose up command runs, the application and its related containers are deployed
into your Docker host, as depicted in Figure 5-10.
Dostları ilə paylaş: