(DEPRECATED) - Please visit www.hadabot.com for more up to date instructions on how to build.
- Install Docker
- If you are NOT using Mac, install Docker Compose (ie docker-compose)
- 'cd docker'
- 'docker-compose up -d'
- Open a web browser tab and go to http://localhost:9000 to open Portainer management web page.
- (NOTE) If a bunch of red "Failure" tooltips pop up, hit Ctrl-Shift-r to flush cache and refresh URL.
- Create a local Portainer admin account
- Upon seeing 'Connect Portainer to the Docker environment you want to manage.'
- Select the 'Local - manage the local Docker environment' box.
- Click 'Connect'
- Get full container ID for the ros2_console container, from your terminal, type:
- 'docker ps --no-trunc -f name=ros2_console -q'
- Open a new browser tab to launch a web-bash terminal via http://localhost:9000/#/containers/<ROS2_CONSOLE_CID>/exec - replace ROS2_CONSOLE_CID with the 'full container ID' you discovered above.
- Click 'Connect'
- (If you keep getting redirected to the dashboard use this ALTERNATE METHOD TO LAUNCH WEB-BASH) From your Portainer Dashboard:
- From the left-menu bar, click 'Containers'
- Click 'ros2_console' from the list of containers
- At the bottom of 'Container status' panel box, click '>_ Console'
- Click 'Connect'
You now have a web-bash terminal into one of the Docker containers we launched (via 'docker-compose up -d') to start learning ROS2.
If you are reading one of the https://blog.hadabot.com blog posts, you can use this web-bash to follow along with the instructions described in the blog post.