![]() ![]() ![]() Running your database as another container solves this problem, as containers hosted on the same computer can easily communicate with each other. Second, if you are running other containers, they can't easily connect out to a SQL Express LocalDB running on your developer machine. You don't need SQL Server Express installed, and in fact, with Docker multi-stage builds and Visual Studio Code Remote Containers, you could even develop and run your whole application locally with nothing more than Docker installed. ![]() There are a number of benefits to the approach of running your databases in containers rather than directly on your developer machine.įirst, there are no prerequisites other than Docker. However, if you have Docker Desktop installed on your machine (which I highly recommend), you also have the option of running your database in a container. This saves you having to connect out to an external SQL server shared by other developers, or pay for a cloud hosted database. Quite often that's SQL Server Express with its convenient and lightweight " LocalDB" feature. NET developers to use a local SQL database when running locally. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |