Docker Compose - Image name - Stack Overflow
stackoverflow.com › questions › 34343025Dec 18, 2015 · When you are running a docker-compose up -d command, by default the build image is going to take the name of the current folder. So for example for this docker-compose.yml file my image will be named: dockersymfony_php because my current folder is named docker-symfony and I indicated php for my image in my yaml file. php: build: ./docker/php ...
Compose file | Docker Documentation
docs.docker.com › compose › compose-fileDocker Compose 1.27.0+ implements the format defined by the Compose Specification. Previous Docker Compose versions have support for several Compose file formats – 2, 2.x, and 3.x. The Compose specification is a unified 2.x and 3.x file format, aggregating properties across these formats. Compose and Docker compatibility matrix. There are ...