Installing SQL Server in a Container

  Рет қаралды 4,040

Kevin Feasel

Kevin Feasel

Күн бұрын

Пікірлер: 6
@aravindspring
@aravindspring 8 күн бұрын
Good tutorial. Helped me to start on docker and SQL server.
@ravilobo7977
@ravilobo7977 Жыл бұрын
Thank you Kevin. Has there been any progress on AD authentication for SQL Server on containers? When we tried last time, it was a convoluted process. That kind of stopped us from using it in our environment.
@KevinFeasel
@KevinFeasel Жыл бұрын
Thanks, Ravi. Yeah, AD authentication is still a little painful. That said, Amit Khandelwal has a walkthrough at techcommunity.microsoft.com/t5/sql-server-blog/ad-active-directory-authentication-for-sql-containers-on-azure/ba-p/2745659 and Microsoft Learn has some good content at learn.microsoft.com/en-us/sql/linux/sql-server-linux-ad-auth-understanding?view=sql-server-ver16 and learn.microsoft.com/en-us/sql/linux/sql-server-linux-containers-ad-auth-adutil-tutorial?view=sql-server-ver16. I'm not sure when you last tried it but having a couple more walkthroughs does help lessen the pain, at least.
@ravilobo7977
@ravilobo7977 Жыл бұрын
@@KevinFeasel Thanks a bunch! Will have to give it another go. You can't deny there's a steep learning curve here. Some stuff on the links is non-dba. The fact that MS gave a boot to BDC is discouraging. Spent months to learn K8S. Thank you for all the use-cases for SS on containers. All very good. Do you have any production use-cases?
@emo05mi
@emo05mi Жыл бұрын
Yoo Kevin thank you for this wonderful tutorial. Do you know how to use a domain name to access the sql server? when i try the knowledge i know of then this the output. "a connection was successfully established with the ubuntu server, but then an error occurred during the pre-login handshake" When i try to connect thru local ip it is successful but when connecting to public ip it is getting some error. i tried allowing the ports from the firewall. ps. im using ubuntu linux with mssql installed on docker.
@KevinFeasel
@KevinFeasel Жыл бұрын
There are a couple of ways I can interpret your question: 1. You have the container on physical machine A and are trying to connect to it from physical machine B. In that case, I'd expect that you would need to open up firewall ports (1433 or 51433 or whatever you have set the external port to) on physical machine A. There shouldn't be much else required for that interaction. 2. You want to connect to the container either from another container on physical machine A or from the main operating system on physical machine A. In that case, it sounds like there's some disconnect where the host name doesn't map to a given IP+port combo. If you're trying to use host names within containers, you might need to set up a Docker network: stackoverflow.com/questions/30545023/how-to-communicate-between-docker-containers-via-hostname and docs.docker.com/engine/reference/commandline/network_connect/ are good resources for getting started there, as well as stackoverflow.com/questions/50705736/docker-container-unable-to-connect-to-sql-server-by-name. All of this does get a bit easier if you're using Kubernetes or Docker Compose to orchestrate containers on a network but each of those adds its own administrative complexity.
Configuring a SQL Server Instance
15:55
Kevin Feasel
Рет қаралды 4,8 М.
Using SQL Server inside of Docker
16:57
Kernow Coder
Рет қаралды 393
Dad gives best memory keeper
01:00
Justin Flom
Рет қаралды 20 МЛН
How to run SQL server in a Docker container
17:26
LogRocket
Рет қаралды 68 М.
Step by step - Run and Connect to SQL Server in Docker
17:15
Les Jackson
Рет қаралды 57 М.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Рет қаралды 2,7 МЛН
Installing SQL Server on Linux
8:40
Kevin Feasel
Рет қаралды 33 М.
Docker Install Microsoft SQL Server 2019 on Ubuntu 20.04 LTS
13:41
PhasedLogix IT Services
Рет қаралды 10 М.
Dockerize .NET 6 in 10 Minutes
13:33
Wes Doyle
Рет қаралды 142 М.
Deploying SQL Server in Kubernetes by Anthony Nocentino
57:30
DataPlatformGeeks & SQLServerGeeks
Рет қаралды 3 М.
Learning Docker // Build Container Images
23:02
Christian Lempa
Рет қаралды 32 М.
Docker Compose with .NET Core & SQL Server (Step by Step)
1:08:15
Les Jackson
Рет қаралды 103 М.
how to make  led bulb | How do you use a soldering iron first time?
1:00
Nk creative experiment
Рет қаралды 10 МЛН
when foldable cellphones follow the trend#shorts
0:11
amazing populer
Рет қаралды 17 МЛН
iPhone vs Samsung
0:25
ARGEN
Рет қаралды 2,1 МЛН
iPhone 16 - 16 последних фишек за 16 минут
18:59
iPhone VS Samsung🤯
1:00
Skinnycomics
Рет қаралды 19 МЛН