@khanasin.y, it doesn't work that way, I'm afraid. If you have a build action (in your case Maven) and you switch a MySQL microservice on within that action, it, another docker is run with installed MySQL server to which access data is provided. It's accessible for that build only since it's created in an isolated environment. In your home Docker (Maven action in other words) you need to connect with this database. Then, you could use it as if you used remote server.