Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Docker support #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sauk2
Copy link

@sauk2 sauk2 commented Dec 22, 2024

Summary

This pull request introduces Docker support by setting up a ROS Noetic environment with GPU acceleration. The changes include the addition of dockerfiles along with a compose script and a new docker usage section in the README.

The following files have been added,

  1. nvidia-ros-noetic.Dockerfile
  • Builds a ROS Noetic image using an NVIDIA CUDA-based Ubuntu base image.
  • Provides GPU acceleration for ROS applications.
  1. dev-overlay.Dockerfile
  • Extends the ROS Noetic base image to create a development container.
  • Includes volume-mounted support for the src folder.
  1. docker-compose.yaml
    Simplifies launching of the development environment.

Usage instructions

  1. Build the base and development images.
  docker build -f docker/nvidia-ros-noetic.Dockerfile -t nvidia-ros-noetic .
  docker build -f docker/dev-overlay.Dockerfile -t dev-overlay .
  1. Launch the development environment.
  xhost +
  docker compose up
  1. Access the running container and run a roslaunch command.
  docker exec -it dev-overlay bash

  # Run command inside container
  roslaunch me5413_world world.launch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant