amazon-web-services - 设置活动主机时的权限问题
问题描述
我正在设置活动主机并让 Docker 客户端指向它:
docker-machine env [instance name]
这给了我输出:
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host. You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'
当我尝试重新生成证书时,我从调试日志中得到了这个:fork/exec /usr/bin/ssh: permission denied
更改目录的权限设置没有帮助。我该如何解决它?
解决方案
问题是快速运行 Docker(Ubuntu 的 repo),而不是 Docker 的官方构建。一旦我卸载了 Docker snap 并安装了官方构建 SSH 问题就消失了。
推荐阅读
- scala - 当RDD行之间没有值时如何用逗号分割它们?
- java - XML 透视图的目标 ID
- java - 如何在不打开 Android/Java 地图的情况下获取地点列表?
- reactjs - 我如何仅通过单击而不是使用 React Hook useState 来渲染侧面?
- php - 使用 laravel 社交名流从登录重定向后用户未登录
- javascript - ajax帖子中的消息成功
- python - Python 脚本显示错误:(-215:Assertion failed) 通过 cmd 运行时
- angular8 - Angular 8 编译问题
- python - Seleniumbase TimeoutException 仅在使用脚本中的 chromium 时
- tensorflow - 如何解决 TPU 推理的数据获取瓶颈?