none
Mount a volume to the container and access files that were externally added. RRS feed

  • Question

  • I am trying to mount a drive to a folder on the container.

    docker run -it --mount type=bind,source=\\$(hostname)\e$\,target=c:\Raintree raintree/windowscore-dll:07062018

    But, am not able to access the files in the mount location.

    <g class="gr_ gr_81 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" data-gr-id="81" id="81">PS C</g>:\Raintree> <g class="gr_ gr_82 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling only-del replaceWithoutSep" data-gr-id="82" id="82">ls</g>
    <g class="gr_ gr_82 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling only-del replaceWithoutSep" data-gr-id="82" id="82"></g><g class="gr_ gr_83 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="83" id="83"><g class="gr_ gr_82 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling only-del replaceWithoutSep" data-gr-id="82" id="82">ls</g> :</g> A specified logon session does not exist. It may already have been terminated.
    At line:1 char:1
    + ls
    + ~~
        + CategoryInfo          : ReadError: (C:\Raintree:String) [Get-ChildItem], IOException
        + FullyQualifiedErrorId : DirIOError,Microsoft.PowerShell.Commands.GetChildItemCommand

    Please help me resolve the issue here.

    Wednesday, July 25, 2018 12:07 PM

All replies