Unable to locate LocalDb when using container in Docker and Asp.net core 3.1 RRS feed

  • Question

  • Hi,

    I have an asp.net core 3.1 project and I want to use containerized using docker. I stumble into a problem when I start the app it cannot locate the localdb. The LocalDb resides on a separate project but on the same solution folder. It cannot find the file specified.

    If I will not use container it will just run ok and able to connect to LocalDB. please enlighten me if I missed something. Thank you

    Sunday, April 19, 2020 4:27 PM

All replies

  • Hi Etolf,

    Thank you for posting here.

    According to your description, your issue is more related to ASP.NET Core.

    You can consider posting it at the following more appropriate forum for more efficient responses. Thanks!


    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, April 20, 2020 8:07 AM