Jabra is a brand of GN Audio A/S | www.jabra.com 5
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'Jabra123'
- a new prompt as '1>' displayed. exit with CTRL C
- no reason to create a testDB, so type exit twice.
IP 172.25.1.23 is the docker machine interface (ip addr command returns the PC IP). User should replace it
with his machine IP.
$ sudo docker run -e MSSQLServerConnectionString="Server=172.25.1.23,1433;Initial
Catalog=xpress;User ID=SA;Password=Jabra123;" -it gnaudio/jabra-xpressdatabaseconsoletool:v4.0.15121
-> pulling from gnaudio/jabra-xpress
When the tool is up, select option 2 to create the database. When the operation is done and if no errors
are printed, then you can continue.
>2
Working... Calling db.Database.Migrate();
Please wait...
Done
In case below error received, the firewall should be stopped, or IP is wrong.
Error: Got an exception: A network-related or instance-specific error occurred while establishing a
connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is
correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 Could not open a connection to SQL Server)
Stop firewall (from yast Services Manager) , disable it and reboot
In case no error, exit with 0 and enter.
2.3 Create docker-compose.yml file
Install docker-compose by launching below command in a terminal:
$ sudo zypper install docker-compose
Create a docker-compose.yml