[Nav2] running inside Docker

[Beginner] I was able to make it work! Sharing in case it’s useful to anyone.


  • Reduce setup steps by getting ROS pre-installed
  • Develop navigation applications in the safety of an isolated Docker environment
  • Encourage development with ease of use


  • Nav2
  • ROS Humble Hawksbill
  • tested on Ubuntu 20.04

Recorded the steps in my blog


Great work! You should look into rocker. It’s a great tool for dockerfile development setup.


Why should I add another level of opaque abstraction?

I think docker compose recipes instead of another tooling dependency are much better for development using docker.

That’s cool. Use whatever pleases you habibi.

1 Like

can you give an example of what this looks like?