Docker Setup for Stretch Simulation with Nvidia GPU Support
Prerequisites
Quick Setup
# 1. Install Nvidia Container Toolkit
make install-nvidia-toolkit
# 2. Test GPU access
make test-gpu
# 3. Build the Docker image (takes 1-2 hours)
make build
# 4. Run the container
make run1. Install Docker
2. Install Nvidia Container Toolkit
Verify Nvidia Container Toolkit Installation
3. Build the Docker Image
4. Run the Docker Container
Basic Usage
Run with Persistent Storage
Run Specific Launch Commands
5. Using Docker Compose (Optional)
6. Common Usage Examples
Navigation with Pre-mapped Scene
Enable Cameras and PointClouds
7. Troubleshooting
GPU Not Detected
X11 Display Issues
OpenGL/EGL Issues
8. Performance Tips
9. Cleaning Up
Additional Resources
Last updated
Was this helpful?
