December 2019
Intermediate to advanced
528 pages
11h 19m
English
When you're writing for containers, especially when you want a smooth development experience, it's becoming less and less important to be able to remember the Docker commands; in fact, during the course of this chapter, it would be possible to not touch the command line until we start moving the container into AKS. Therefore, it is easy to forget that you're running inside a container, and a Linux container at that. EF Core allows you to connect to a SQL instance, so it would be easy to connect to (LocalDB). However, you won't be able to access this from within your container as it's a Windows-only concept and, of course, exists on the host machine, not in the container.
So, can we access SQL Server from ...