Connect metabase to sql database

#1

Hello, I have set the following: metabase , sql server each running on a docker container. I am trying to enter the database info now to connect to my database on sql server:

host: the host of sql server which is localhost,75849. it is the server name on “Connect to Server” dialogue.

port: 1433

database name: master

database instance: N/A

and still getting cannot connect to server …

my friend is telling me I might need to run docker-compose to enable connection between the two containers but I don’t really want to get thru that if can be done directly in an easier way. I need “Docker” specifically I can’t use jar file…

#2

Hi @Rama
I just did a Google search for “docker compose network between containers” and got these two as the top results: