Docker for Robotics Pt 1 - What and Why??

Sdílet
Vložit
  • čas přidán 2. 08. 2024
  • Docker is a popular tool for developing software, but can it also help us with robotics?
    This video is a basic overview of Docker's functionality, and a look at some ways it can be used for robotics.
    💬 Join the discussion at the Articulated Robotics Community discourse.articulatedrobotics...
    ❤️ Support me on Patreon! www.patreon.com/bePatron?u=55...
    00:00 - Intro
    01:34 - What is Docker?
    04:06 - Docker Images
    06:25 - Docker Containers
    08:21 - Six reasons to use Docker for robotics
    12:45 - Simple Docker demo
    15:55 - Outro

Komentáře • 55

  • @giorgegi4060
    @giorgegi4060 Před rokem +24

    This video was god sent; it literally came the time I most needed it. I had trouble installing ROS noetic on Ubuntu 22.04 where my Humble is. Compiling from source didn't work, Anaconda manager didn't have all the ros-noetic packages I needed, and I wanted to avoid using a VM due to how resource demanding they are. I knew docker was an option but i never used it making me reluctant, but now my doubts are gone. I'm looking forward for the next parts!

    • @jashmota5054
      @jashmota5054 Před 4 měsíci

      curious how did the containerized noetic installation experience go for you @giorgegi4060? did face any issues?

  • @drewdraw0
    @drewdraw0 Před 10 měsíci +2

    This is incredible! Thank you so much. A few months ago I attempted to work through how to install ROS2 in a container and found very few clear and concise explanations of the process. Really hope you continue with this series!

  • @shadycraig
    @shadycraig Před rokem

    I've been using docker for a long time and your video is a great intro for anyone new to it

  • @diogomuzzi4015
    @diogomuzzi4015 Před rokem +1

    I participate in a robotics team in brazil, and docker was a game changer for us. It was very difficult to make sure all the software ran smoothly on everyone's machine, but when we started using docker our workflow got so much better

  • @michaelbishton9439
    @michaelbishton9439 Před rokem

    As someone who wants to get started with robotics using a raspberry pi, and wondered how I should organize my approach to it and my workspace, you're clear outline how to approach this was very encouraging.. thank you.

  • @MOHITKUMAR-xe7bg
    @MOHITKUMAR-xe7bg Před rokem +1

    Thanks a lot for this video. I was really looking for this video since a long time

  • @enthusiasticroboticist
    @enthusiasticroboticist Před rokem +1

    Regarding 15:16, if you hanvn't used `--rm` with `docker run` after stopping the container, the container still exists and "my_file" still exists in that container. You can start the old container again with `docker start` command.
    You can run `docker container ls -a` to even list the stopped containers.
    `docker run --rm` would make sure that the container is deleted after you stopped the container.

  • @aaronraj2105
    @aaronraj2105 Před 5 měsíci

    i never knew what was docker's application in the robotic industry, but after actually working in the field, i found out how important and a gamechanger it is, thank you very much for making this video god bless

  • @alhomeronslow5505
    @alhomeronslow5505 Před 2 měsíci

    Thank you for this. Perfect timing in finding this channel and playlist, taking a robot programming course and devops course in several weeks. RPi/Python/Two motor/wheel platform and Docker the respective focus of the courses .

  • @vijayasankar23
    @vijayasankar23 Před rokem

    Most waited Video.. I am really appreciate you work. thanks for detail videos.

  • @timarcher52
    @timarcher52 Před rokem +3

    Great video! Looking forward to the future videos on deeper dives into docker and ros. Would love to see more on the jetson GPU usage in the container, and also running apps like gazebo and rviz. Keep up the good work!

    • @kraigorcutt3666
      @kraigorcutt3666 Před rokem +1

      I am definitely looking forward to a RViz/Gazebo video for this!!!

  • @TiagoCorTech
    @TiagoCorTech Před 9 měsíci

    This is gold. Thanks so much for your work

  • @MrAlibatur
    @MrAlibatur Před rokem

    This channel is amazing. I hope you continue making these great videos

  • @VulpeculaJoy
    @VulpeculaJoy Před rokem +2

    I was sceptical at first, but you definitely sold me on the advantages of running 22.04 on the Jetson. We already switched to ROS2 in anticipation of the Jetpack v6 release and have some problems with a 5GigE PCIe network card that's so brand new, that the linux kernel Nvidia uses for Jetpack v5 doesn't contain the drivers yet. I hope we can simply fix all of these problems with docker.

  • @theodorocardoso
    @theodorocardoso Před rokem

    Wow! Looking forward to the next video

  • @teetanrobotics5363
    @teetanrobotics5363 Před rokem +1

    I wanted to express my utmost gratitude for creating the first part of the Docker for ROS series on your channel. Your expertise in this area has been invaluable to me, and I've found your explanations and demonstrations to be incredibly helpful in understanding the integration of Docker with ROS.
    I would like to kindly request that you consider creating additional parts in the Docker for ROS series. It would be fantastic to delve deeper into this topic and explore more advanced concepts and practical applications. Additionally, I would be thrilled if you could create a series focusing on algorithms such as navigation, SLAM, manipulation, and perception for both older and newer versions of ROS. Your clear teaching style and comprehensive approach would undoubtedly benefit the ROS community, including newcomers and experienced users alike.
    Thank you once again for your dedication to sharing your knowledge and providing valuable resources. I eagerly await any future content you create.

    • @ArticulatedRobotics
      @ArticulatedRobotics  Před 11 měsíci

      Thank you! All of those are things I want to make videos on, I just need to find the time!!!

  • @frankfurtdynamics2783

    I use Docker a lot at work and it really changed my Workflow.

  • @ThomasLefort-JesuisuneIA

    Really exited to see the following videos. I use docker but wasn't aware of the possibility of using docker with vs code for dev. Will allow even more consistency between dev and production environment

  • @MarcusRobertsonTwo
    @MarcusRobertsonTwo Před rokem

    Very good. Nice work. Thanks for your help!

  • @mshytb
    @mshytb Před 2 měsíci

    Your videos are just the best!!

  • @obensustam3574
    @obensustam3574 Před 11 měsíci

    As a robotics software engineer, even though I was curious about Docker I have never used it. I hope you can share some small ROS applications with Docker. Because I really like the way you explain the topics. Thanks a lot for your effort!

  • @rukey3001
    @rukey3001 Před rokem +3

    Finally… Docker.. just like u said..!!

  • @mathewtomy3823
    @mathewtomy3823 Před rokem +1

    I think I find solution to my problems. thanks

  • @akshaymahalle7857
    @akshaymahalle7857 Před 6 měsíci

    Great video man!

  • @olicras5426
    @olicras5426 Před rokem

    Very useful video for robotics!

  • @vericksworkshop5007
    @vericksworkshop5007 Před rokem

    Thanks for the video. As someone who's dabbled with docker for software projects, when I started with ros i also wanted to use docker but found that setting up the infrastructure to run packages that involves gui elements in ros is quite confusing. Ie rviz, gazebo or even turtlesim. In the end i gave up and ran natively. It would be nice if this upcoming series touches on approaches to solve that issue. Thanks again!

  • @mikekopack6441
    @mikekopack6441 Před rokem

    We use it at my workplace for ROS work. One of our biggest headaches is IT is constantly wanting us on the latest greatest Linux to mitigate security risks. This can be painful with ROS given the ROS version is tightly tied to the OS version, and we often are having to support and work with stuff on older ROS versions. So instead we use docker containers and that way the base OS version doesn't matter because we don't install ROS onto the base.
    We also have things as a 2 stage setup:
    We start off with one of the provided ROS docker images. We then use a dockerfile that sets up any port mappings we need, and installs any additional dependent APT and PIP packages, and any dependency code that we have to build from source. This provides us with our "extended" base.
    Our 2nd stage dockerfile then maps our ROS workspace directory from the base OS into that extended base and performs the compile of our code. That allows us to only have to build the extended base once (or only when we add new dependencies) and we rebuild the final containers whenever we rebuild our code. This works REALLY well for us.
    We then use docker-compose to launch all of our nodes in individual containers as needed.
    Switching to this paradigm has helped streamline our work substantially and made standing up new projects extremely rapid without having to get new computers set up for each project, etc.

  • @romanalejandroromancanizal1639

    You have the best ROS tutorials! Can you make a video using RVIZ or Gazebo with docker? or also making multiple robots communicate through Docker would be interesting

  • @bradenwagstaff1234
    @bradenwagstaff1234 Před rokem

    You dropped this ... 👑

  • @messedmushroom
    @messedmushroom Před 11 měsíci

    Can't wait for more Docker videos!

  • @sakethsaketh4419
    @sakethsaketh4419 Před měsícem

    @articulated robotics
    Please do a video series on Nvidea Issac sim with ROS as now it is growing very popular and it has lot of tools especially when we are doing stuff like RL.

  • @user-nn1dr3gy3f
    @user-nn1dr3gy3f Před 11 měsíci

    amazing video :)

  • @AIGPT_
    @AIGPT_ Před rokem

    Awesome 🤘😊🥳

  • @wongliangquan4660
    @wongliangquan4660 Před rokem

    Great video! looking forward to the next video. How do you run gazebo on web browser as shown on 12:33

  • @emiraykin9615
    @emiraykin9615 Před rokem

    Just on the time I need! Please make more videos about Docker and maybe Nvidia's Isaac sim. Thanks a lot .

  • @prashkd7684
    @prashkd7684 Před rokem

    When I think of ROS, its basically a bunch of "packages" doing their own things and communicating with eacch other via ROS protocols. This is very similar to Docker concept which is why when I started learning ROS, i really struggled to see advantage to use ROS rather then writing my applications, packaging them into different docker containers and deploying them and managing them with ease.
    Do you see ROS community pivoting towards docker sometime in the future ?

  • @user-hv8vu6yt4e
    @user-hv8vu6yt4e Před 6 měsíci

    Thanks

  • @CobichueloRobotics
    @CobichueloRobotics Před rokem +1

    Hiiii!
    I love all yours tutorials and I am trying to build the robot but the motors that you propose are out of stock.
    Could you please recomend me others?
    Thanks for all.

  • @riddheshmore2315
    @riddheshmore2315 Před rokem

    Hi your videos are amazing🤩. I am going to start my Ms in Robotics and confused which laptop to buy. I have a decent budget for a Mac and a Gaming Windows machine. If you could suggest me it would be of great help. Thanks for your time sir :)

  • @tommasovandermeer8645

    Thank you for sharing this amazing solution! Working with ROS has always been a bit frustrating because of the different distros that run on different OS. This seems to be a very lightweight solution. Can you also show how to run GUI's apps inside the docker container? For my projects I need to use Gazebo and RViz but all the tutorials I found online (ROS wiki included) do not work in my case.

  • @user-no8zu1qw2h
    @user-no8zu1qw2h Před 7 měsíci

    what a great vdo

  • @underwaterdol613
    @underwaterdol613 Před rokem

    Docker and ROS2 is an amazing combination and your videos are awesome to learn all these things. Amazing job and I can't wait to see more of these. Nevertheless, I would be pleased if for your other ROS2 videos you could add manipulation also. THX for your great work and time to offer all these topics for free!!

  • @anas77xd
    @anas77xd Před rokem

    great job Mr. Josh
    I wanna ask a question and i won't be annoying lol
    I saw your tutorial on how to write hardware interfaces for ros2_control, and i'm using ROS Noetic, i was implementing everything you are doing in the video with a little bit of changes to the code in order to fit my project and the ROS Noetic distribution, but when i got to the ros_control section i was really lost because the documentation is pretty bad, so do you have any advices for sources that teaches how to make the hardware interface that fits my project?
    because I think the hardware interface you implemented in the video "you can use any hardware with ros2_control" wont be suitable for ROS1.
    or is it?

  • @Phoenix_1974
    @Phoenix_1974 Před 6 měsíci

    Hey , can you post video series of simulation of 6dof robotic arm using ROS (Gazebo and Rviz) also using a Moveit …and lastly integrating it with Raspberry pi and physical 6dof arm……

  • @pradeepmanoharan9914
    @pradeepmanoharan9914 Před rokem

    life saver

  • @mastrobottega_enf
    @mastrobottega_enf Před 16 dny

    Amazing tech! But what about GUI applications? An example: would I be able to run Gazebo on a Arch Linux using Wayland?

  • @CrazyMineCuber
    @CrazyMineCuber Před rokem

    The even more ultimate tool is NixOS. You can create declarative and reproducible development environments, as well as docker compatible containers. There is a community maintained overlay for ROS and ROS2, but I have personally not had the time to try it out.

  • @Alfarrow
    @Alfarrow Před rokem +2

    When the next video😢?

  • @alexCh-ln2gw
    @alexCh-ln2gw Před 5 měsíci

    I hate the way the robotics communiy in linux has evovled. The only reason docker is required, is because Raspbian/Raspberry Pi wont' run ROS2 because it's unsupported. Which is totally ridiculous and stupid. It's a hack upon a hack. I also got the the part where everyone cites docker as the solution to "works for me". Now it's even worse with "works on my container". Another thing to note: docker pull won't work the way you think it does. It's not just magic where you get the correct image. There's OSRF images with their own github/up to date packages and random stuff on docker hub and those two do not correlate. Yuou'll have to specify which image registry to pull from. This is even more complexity. Even more problems still: X 11 or whatever gui your operating system is using. Docker doesn't help you with this and makes it worse. You'll need to do hacks to run gazebo or other GUI applications.