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

Windows上设置Docker共享盘符

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

Windows上设置Docker共享盘符

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

 

相关文章:

  • 2021-12-19
  • 2021-12-04
  • 2021-05-19
  • 2021-12-16
  • 2021-05-20
  • 2022-12-23
  • 2021-06-13
猜你喜欢
  • 2021-07-16
  • 2021-06-21
  • 2021-12-02
  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案