How to open / run YML build file?

How can I open / run the YML build file on my computer? I installed Docker for the Windows and Docker tools, but could not figure out how to do this.

+4
source share
2 answers

To manage files .yml, you need to install and use Docker Compose.

Installation instructions can be found here: https://docs.docker.com/compose/install/

After installation, navigate to the directory docker-compose.yml, and then run docker-compose upto create and run the services in your file docker-compose.yml.

, Docker Compose: https://docs.docker.com/compose

+4

, YAML, , NotePad ++ windows vim linux. compom yaml, , :

docker-compose -f { }

-f, docker-compose.yml

+2

Source: https://habr.com/ru/post/1678538/


All Articles