Docker-compose is failing

Create a docker-compose.yml file under the path /root/wordpress . Once done, run a docker-compose up.

The compose file should have exact specification of the wordpress and db container
For the above question, when I check to verify the link task is failing though the link is correct.