April 2018
Intermediate to advanced
300 pages
7h 41m
English
We can run Docker images either from the command line or from Visual Studio directly. As we saw in the previous section, a new docker-compose project is created on adding Docker support into our project. Running the docker-compose project reads the docker-compose YAML file and hooks up containers for the services defined. Docker is a first-class citizen in Visual Studio. It not only supports running the Docker containers but fully-fledged debugging capabilities are also provided.
Alternatively, from the command line, we can run Docker containers by going to the root path where the docker-compose.yml file resides and running the following command:
docker-compose up
Once the containers are up, each application has its ...