How to Access SQL Server Docker (Running on MAC) from Power BI (Running on Parallels)

Alan Figueroa 20 Reputation points
2024-10-16T15:55:15.9833333+00:00

I am trying to access a SQL Server database through Power BI (in a "Parallels" virtual environment) that is running in Docker on my MacBook.

HOW SHOULD I CONFIGURE TO GAIN ACCESS ?

User's image

User's image

I want to be able to access this database within Power BI...

Details:

  • Docker is running on a MacBook M1, and I am using Azure Data Studio to access the SQL Server in Docker. Everything is working smoothly.

I have already tried addresses like the Docker IPAddress and other solutions that I found online, but none of them worked.

Can someone give me some guidance?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,871 questions
Azure Data Studio
Azure Data Studio
A cross-platform database tool for data professionals using on-premises and cloud data platforms on Windows, macOS, and Linux.
118 questions
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 65,661 Reputation points
    2024-10-18T18:27:49.5566667+00:00

    You would use the Mac’s hostname (as know by the parallels vm) as the server. You might want to change the Mac hostname to be simpler. You could also just use the Mac’s ipaddress.

    In the windows vm you should be able to ping Mac by hostname. If you do not have local network hostname resolution, then you will need to update the host file and manually add the hostname.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.