Unable to Connect Mysql container from a spring-boot application

Yes, that’s possible, nested virtualization is for adventurers.
On the other hand, your containers seem to be running. You could add an Adminer service to your compose file and then try to connect to your database. This will probably show you more useful messages.