docker-compose down with a non-default yml file name
Solution 1:
You should run the docker-compose down
command with the same flags that when you started the containers.
docker-compose -f docker-compose-test.yml down
Solution 2:
You can create a .env file and add the following:
COMPOSE_FILE=docker-compose-test.yml