I have a docker mysql image running, following is what the docker-compose.yml file looks like: db: image: mysql environment: MYSQL_ROOT_PASSWORD: "" MYSQL_ALLOW_EMPTY_PASSWORD: yes ports: - "3306:3306" This works fine. My question is: How can I connect to the MySQL instance running on that container from the command line mysql client on my the host (my macbook)? To clarify: I have a macbook with D
