Git Product home page Git Product logo

autoware_universe's Introduction

Autoware.universe

使用docker版本进行安装,直接运行 autoware_docker.py 即可拉取镜像并进入容器

注意事项:

  1. 在创建好容器后退出,重新使用 autoware_docker.py 进入时会报错:
linkx@user-MS-7D25:~/autoware.docker$ python3 autoware_docker.py 
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/tmp/.dockerl_1e8w1g.xauth" to rootfs at "/tmp/.dockerl_1e8w1g.xauth": mount /tmp/.dockerl_1e8w1g.xauth:/tmp/.dockerl_1e8w1g.xauth (via /proc/self/fd/7), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Error: failed to start containers: 48179123b6a0

原因在于使用 rocker 第一次创建容器时将host的文件夹 /tmp/.dockerl_1e8w1g.xauth 挂载到了容器内部的文件上,也就是说 /tmp/.dockerl_1e8w1g.xauth 在容器中是文件,从而报错。

修改方式: 在 host 主机下查找docker中该路径,将其删除并创建为文件夹

root@user-MS-7D25:/var/lib/docker/overlay2/b9db4ec5f0f6cd96fff9549ac8b719a4e7ec49151ad4ce1fb56c9d3868c94921/diff/tmp# ls -a
.  ..  .docker0bn8d121.xauth  runtime-linkx  .X11-unix

在本机中进入docker文件夹需要 root权限,即 sudo su 方式进入。

autoware_universe's People

Contributors

reflector-li avatar

Stargazers

Hongyi Kang avatar

Watchers

 avatar

autoware_universe's Issues

Cannot fine ".xauth" file

Hello, I'm appreciate your work! However, when I tried to search the ".xauth" file, I cannot get the result. Do you have encountered this problem! Looking forward your apply!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.