none
Asp net App(not core) writing to a network file share inside windows container? RRS feed

  • Question

  • Docker: Version 18.0.3.1-ce
    Platform: Windows 10 (Windows container)
    Base Image: microsoft/aspnet

    Scenario: Have a .net hosted IIS site which writes/saves file to a network share path

    Options Tried:
    a. Network share volume with container directory: Does not work
    b. Mapped Network drive in host, and mapped it to container directory: Does not work
    c. Inside the container, ran “net use” with the network path and drive. The mount succeeded. But the .net app cannot write it to the mounted drive.
    i. If I use Mounted drive in code, does not work
    ii. If I use the network impersonation in code for the share, does not work

    Is there any option that I am missing? Any directions or inputs?


    • Edited by pondy84 Friday, June 22, 2018 4:32 AM
    Friday, June 22, 2018 4:32 AM

Answers

All replies