I tried to install a MySQL cluster with the Docker image below.

mysql/mysql-cluster - Docker Image | Docker Hub

The Docker image is pulled and run successfully.

Despite that I could connect to the cluster in the terminal (as shown in the screen capture below), I don't know how to connect to it with MySQL Workbench or DBeaver.

enter image description here


In your docker run command, you can use -p 3306:3306 (or any available port). Then you can use <host>:<port> from Workbench or Dbeaver connection URL.