forked from westonrobot/limo_ros2_docker
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a7a30f
commit 280334a
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: '3' | ||
services: | ||
limo_drivers: | ||
image: lcas.lincoln.ac.uk/lcas/limo_ros_arm64:humble | ||
user: "ros" | ||
privileged: true | ||
command: bash -c "source /opt/ros/lcas/install/setup.bash; (zenoh-bridge-ros2dds -l tcp/0.0.0.0:8888 &); ros2 launch limo_bringup limo_start.launch.py" | ||
volumes: | ||
- /dev:/dev | ||
- /tmp/.X11-unix:/tmp/.X11-unix | ||
- /etc/localtime:/etc/localtime:ro | ||
- /etc/timezone:/etc/timezone:ro | ||
- /home/agilex/.Xauthority:/home/ros/.Xauthority | ||
runtime: nvidia | ||
environment: | ||
- 'DISPLAY=:0' | ||
- 'ROS_LOCALHOST_ONLY=0' | ||
- 'LIBGL_ALWAYS_SOFTWARE=1' | ||
- 'ROS_DOMAIN_ID=0' | ||
- 'NVIDIA_VISIBLE_DEVICES=all' | ||
network_mode: host | ||
cap_add: | ||
- SYS_PTRACE | ||
security_opt: | ||
- seccomp:unconfined | ||
- apparmor:unconfined | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- driver: nvidia | ||
count: 1 | ||
capabilities: [gpu] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} | ||
mkdir -p $DOCKER_CONFIG/cli-plugins | ||
curl -SL https://github.com/docker/compose/releases/download/v2.24.5/docker-compose-linux-aarch64 -o $DOCKER_CONFIG/cli-plugins/docker-compose | ||
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose | ||
|