gpt4 book ai didi

docker - AZEROTHCORE-./bin/acore-docker-build脚本在本地返回 "unable to find image ' acbuild:latest'

转载 作者:行者123 更新时间:2023-12-02 19:00:28 33 4
gpt4 key购买 nike

我正在尝试使用Docker设置AzerothCore。我按照这里的说明进行操作:http://www.azerothcore.org/wiki/Install-with-Docker,并使用以下命令克隆了git存储库:

git clone https://github.com/azerothcore/azerothcore-wotlk.git

git成功克隆,然后将 dbcmapsmmapsvmaps文件夹移到 ~/azerothcore-wotlk/目录中。

我成功运行了 ./bin/acore-docker-generate-etc脚本。

但是,当我运行 ./bin/acore-docker-build脚本时,出现以下错误:
Reading package lists...
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 1h 11min 29s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 1h 12min 24s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 1h 13min 44s). Updates for this repository will not be applied.
The command '/bin/sh -c apt update && apt install -y git cmake make gcc g++ clang libmysqlclient-dev libssl-dev libbz2-dev libreadline-dev libncurses-dev libace-6.* libace-dev' returned a non-zero code: 100
Unable to find image 'acbuild:latest' locally
docker: Error response from daemon: pull access denied for acbuild, repository does not exist or may require 'docker login'.
See 'docker run --help'.

我在这里检查了其他问题,唯一看到的答复是这可能是重新包装造成的。但是,我正在使用git中的实际存储库。有人可以告诉我我在做什么错吗?

谢谢!

最佳答案

指示无法找到acbuild:latest的错误实际上只是构建该图像的先前错误的结果。 acore-docker-build的想法是构建docker镜像acbuild:latest,以便以后可以运行。该脚本不会验证镜像的生成是否成功,然后仍然尝试运行它。

您的实际错误在于所有这些行:E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 1h 13min 44s). Updates for this repository will not be applied.
这似乎是一个时区/时间设置问题,您可以在以下问题(第二个专门与docker相关的问题)中找到许多解决此问题的建议:

  • https://askubuntu.com/questions/1096930/sudo-apt-update-error-release-file-is-not-yet-valid
  • https://askubuntu.com/questions/1059217/getting-release-is-not-valid-yet-while-updating-ubuntu-docker-container
  • 关于docker - AZEROTHCORE-./bin/acore-docker-build脚本在本地返回 "unable to find image ' acbuild:latest',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60910836/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com