Apollo-v8.0安装踩坑记录

按照Apollo官网的安装说明进行
apollo/apollo_software_installation_guide_package_method.md at v8.0.0 · ApolloAuto/apollo (github.com)

问题记录:

  1. apt update时, 提示:
    N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://apollo-pkg-beta.cdn.bcebos.com/neo/beta bionic InRelease' doesn't support architecture 'i386'
    解决方法:
    修改/etc/apt/sources.list文件,将deb https://apollo-pkg-beta.cdn.bcebos.com/neo/beta bionic main修改为 deb [arch=amd64] https://apollo-pkg-beta.cdn.bcebos.com/neo/beta bionic main, 然后重新apt update
  2. aem start时, 有warning:
[WARNING] Cannot access GPU from within container. Please install latest Docker and NVIDIA Container Toolkit as described by: 
[WARNING]   https://github.com/NVIDIA/nvidia-docker/blob/master/README.md

解决方法:
按照 https://github.com/NVIDIA/nvidia-docker/blob/master/README.md按照NVIDIA Container Toolkit

  1. docker镜像下载失败:
Error response from daemon: Get https://registry.baidubce.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
[ERROR] Failed to pull docker image : registry.baidubce.com/apollo/apollo-env-gpu:latest

解决方法:
参考(8条消息) Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting_Sunshine_502的博客-CSDN博客
中的方式二, 获取registry.baidubce.com的IP地址,直接添加到hosts文件中

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容