Here the structure of my project(debug\_project) folder.

![enter image description here](https://i.stack.imgur.com/SQq8W.png)

This is my Docker compose command.

![enter image description here](https://i.stack.imgur.com/XTbOW.png)

After executing the command, I get this error.

![enter image description here](https://i.stack.imgur.com/Ns697.png)

Here is my docker-compose-dev.yml file.

[![enter image description here](https://i.stack.imgur.com/d1PqU.png)](https://i.stack.imgur.com/d1PqU.png)

[This](https://blog.docker.com/2017/05/spring-boot-development-docker/) is the link I have followed.

How to resolve this error?