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