【问题标题】:How can I install ddev/docker on an old, old Mac?如何在旧的 Mac 上安装 ddev/docker?
【发布时间】:2021-05-21 13:34:23
【问题描述】:

我正在我的 Mac OS 10.12.6 上设置 ddev 以访问开源项目。我得到以下错误。我试图找到适合这个操作系统版本的版本,但没有运气。任何人都可以帮助解决这个问题吗?我可以安装 docker-machine 和 docker compose。

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 6 formulae.

Warning: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

==> Installing ddev from drud/ddev
==> Downloading https://github.com/drud/ddev/archive/v1.17.2.tar.gz
Already downloaded: /Users/aviboy2006/Library/Caches/Homebrew/downloads/614bf0b8c7b32d6a364c18be4e0b7d95a4466f1e552ebd4a68dc967c9717950e--ddev-1.17.2.tar.gz
==> make VERSION=v1.17.2 COMMIT=v1.17.2
Last 15 lines from /Users/aviboy2006/Library/Logs/Homebrew/ddev/01.make:
COMMIT=v1.17.2

fatal: Not a git repository (or any of the parent directories): .git
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
/bin/bash: go: command not found
make: *** No rule to make target `_', needed by `build'.  Stop.

Do not report this issue to Homebrew/brew or Homebrew/core!


Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this

【问题讨论】:

  • 您对错误信息的哪一部分有理解困难?
  • 它更长,所以我发布了图像。实际上安装本身与操作系统版本不兼容
  • 您发布的图片中有一条警告和一条错误消息,向您显示了问题
  • MacOS 10.12.6 已经过时了——有机会更新你的系统吗?

标签: docker docker-compose ddev


【解决方案1】:

Homebrew 不支持您的操作系统版本,因此您需要使用 he install_ddev.sh 技术。脚本安装技术见https://ddev.readthedocs.io/en/stable/

我想你也会发现 docker desktop 不支持你的操作系统版本。

通过 sh 脚本安装。可以运行以下脚本:

curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh

跟进:@aviboy2006 发布了有关如何在旧 Mac 上执行 ddev/docker 的完整教程:https://www.internetkatta.com/installation-of-ddev-docker-and-virtual-box-on-mac-os-10126

【讨论】:

  • Docker 桌面也不支持,所以安装 docker 机器可以正常工作吗?
  • 有没有办法更换docker桌面? @rfay
【解决方案2】:

当你到达那个阶段时运行

curl -LO https://raw.githubusercontent.com/drud/ddev/master/scripts/install_ddev.sh && bash install_ddev.sh

在帅哥网站1https://ddev.readthedocs.io/en/stable/查看文档

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-09-29
    • 2022-12-20
    • 2022-12-03
    • 2013-07-01
    • 1970-01-01
    相关资源
    最近更新 更多