dockerdocker-composedocker-for-windows

How to open/run YML compose file?


How can I open/run a YML compose file on my computer? I've installed Docker for Windows and Docker tools but couldn't figure out how.


Solution

  • To manage .yml files you have to install and use Docker Compose.

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

    After the installation, go to your docker-compose.yml directory and then execute docker-compose up to create and start services in your docker-compose.yml file.

    If you need more information, take a look to Docker Compose docs: https://docs.docker.com/compose