docker ps
this should show the running containers and the published ports.
I found this by searching, check if it helps, Connecting MariaDB docker instance from MySQL workbench
docker ps
this should show the running containers and the published ports.
I found this by searching, check if it helps, Connecting MariaDB docker instance from MySQL workbench