Folder sharing In windows container


I have created a docker image and its running in container,
Our web Site uses windows folder sharing to appear login page, If folder are not shared It does not work.

Eg: \xxx.xx.xx.xx\Web

I am not able to share folder inside docker,

I have written below commands to do folder sharing in docker file.

CMD net share ‘Web’=‘C:\Web’ /GRANT:Everyone,FULL
New-SMBShare –Name ‘Web’ –Path ‘C:\Web’ -FullAccess Everyone

Inside conainter i tried running same commands. It does not allow me to share folder as it says Service “Server” is not running. Its Lanman service in windows container.

Can you please help me in understand how to share folder.


Can any please help me on this.