Windows上设置Docker共享盘符

    xiaoxiao2022-07-07  207

     

    Windows上设置Docker共享盘符

     

    Docker中的settings里的Shared Drives 选择对应盘符后,点击Apply后无法生效,没办法选择对应盘符进行分享。

     

    Exceptions: 

    c: drive is not shared. docker

    cannot create container for service db: C: drive is not shared.

    解决办法:win+R ,键入gpedit.msc

    出现如下界面,找到高亮处的网络访问:本地账户的共享和安全模型,选择如图中的 经典 选项。

    原因分析:用户的权限问题导致。

     

    最新回复(0)