Git Product home page Git Product logo

Comments (6)

cambel avatar cambel commented on September 25, 2024

Hi @ACTP0H0M,

About that, you need to set that parameter in your local machine. Either temporarily as
export DOCKER_RUNTIME=nvidia if you have NVIDIA drivers or DOCKER_RUNTIME=runc if not.
You can set that line in your ~/.bashrc profile file to have it automatically set every time you open a new terminal

from ur3.

ACTP0H0M avatar ACTP0H0M commented on September 25, 2024

Hi, thank you for the reply, it helped to solve this issue

from ur3.

NigerChel avatar NigerChel commented on September 25, 2024

Hello, first I want to thank for your excellent work in this repository.

I would like to reopen this issue since I have the same problem trying to use "docker-compose build", even I set up export DOCKER_RUNTIME=nvidia or export DOCKER_RUNTIME=runc in ~/.bashrc, it gives the following issue:
Screenshot from 2023-07-27 14-15-42

I wonder if there are other options as "runc" that can solve it. Unfortunately, I don't know much about drivers.

I am using the melodic branch and Ubuntu 18.04 in a ThinkPad t420.

Thank you so much!

from ur3.

cambel avatar cambel commented on September 25, 2024

Hi @NigerChel

Do you have the latest version of docker-compose?
The problem seems unrelated to this package. Rather is a problem with docker-compose.
See here docker/compose#6436

from ur3.

NigerChel avatar NigerChel commented on September 25, 2024

Hi @cambel

Thanks for your response, after upgrading docker-compose it fixed the problem by using the following lines:

$ sudo apt-get remove docker-compose
$ sudo curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
$ sudo chmod +x /usr/local/bin/docker-compose
$ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Now I faced with this problem of dependencies, it seems it fails the "docker-compose build" in the Dockerfile in these lines:

Updating ROSDEP and installing dependencies

RUN cd ~/ros_ws
&& rosinstall ~/ros_ws/src /opt/ros/$ROS_DISTRO src/ros_ur3/dependencies.rosinstall
&& apt-get update
&& rosdep fix-permissions
&& rosdep update
&& rosdep install --from-paths src --ignore-src --rosdistro=$ROS_DISTRO -y
&& rm -rf /var/lib/apt/lists/*

Screenshot from 2023-07-30 23-23-26

Screenshot from 2023-07-30 23-23-54

Screenshot from 2023-07-30 23-24-29

Any idea will be very helpful !!

Thanks in advance.

from ur3.

cambel avatar cambel commented on September 25, 2024

Melodic is no longer maintained, so I would suggest using Noetic.

If you still want to try Melodic, see this post to fix your current problem.
https://answers.ros.org/question/400079/error-the-following-packagesstacks-could-not-have-their-rosdep-keys-resolved-to-system-dependencies/

from ur3.

Related Issues (20)

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.