win11ForDocker问题

错误

  • error from sender: open System Volume Information: Access is denied.
    • 获取Dockerfile所在文件夹的System Volume Information的访问权限
      • cacls “D:/System Volume Information” /E /G 用户名:F
        • D:/ 构建Dockerfile所在的文件夹
  • open Config.Msi: Access is denied.
    • 控制台用管理员身份启动
  • failed to compute cache key: “/jdk-8u181-linux-x64.tar.gz” not found: not found
    • 去Dockerfile目录下执行命令
  • Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:3306 -> 0.0.0.0:0: listen tcp 0.0.0.0:3306: bind: An attempt was made to access a socket in a way forbidden by its access permissions.
    • 重启网络
    • net stop winnat
    • net start winnat

win11ForDocker问题
https://x-leonidas.github.io/2023/03/26/15云和容器/win11ForDocker问题/
作者
听风
发布于
2023年3月26日
更新于
2023年4月25日
许可协议