diff --git a/aloha_ws/docker/compose.yaml b/aloha_ws/docker/compose.yaml index 18d16414..f1591b15 100644 --- a/aloha_ws/docker/compose.yaml +++ b/aloha_ws/docker/compose.yaml @@ -44,7 +44,7 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/aloha_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. + # Enable GPU support. # Reference: https://docs.docker.com/compose/gpu-support/ deploy: resources: diff --git a/cartographer_ws/docker/compose.yaml b/cartographer_ws/docker/compose.yaml index 62d0267c..f9d88e9b 100644 --- a/cartographer_ws/docker/compose.yaml +++ b/cartographer_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/cartographer_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/gazebo_world_ws/docker/compose.yaml b/gazebo_world_ws/docker/compose.yaml index 6cb0eefb..7a035e59 100644 --- a/gazebo_world_ws/docker/compose.yaml +++ b/gazebo_world_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/gazebo_world_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/husky_ws/docker/compose.yaml b/husky_ws/docker/compose.yaml index 7bc5176b..099cf41d 100644 --- a/husky_ws/docker/compose.yaml +++ b/husky_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/husky_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/kobuki_ws/docker/compose.yaml b/kobuki_ws/docker/compose.yaml index 22be28ab..915b393d 100644 --- a/kobuki_ws/docker/compose.yaml +++ b/kobuki_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/kobuki_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/orbslam3_ws/docker/compose.yaml b/orbslam3_ws/docker/compose.yaml index 95a97e48..cbd65bff 100644 --- a/orbslam3_ws/docker/compose.yaml +++ b/orbslam3_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/orbslam3_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/rtabmap_ws/docker/compose.yaml b/rtabmap_ws/docker/compose.yaml index fe23699b..822f5245 100644 --- a/rtabmap_ws/docker/compose.yaml +++ b/rtabmap_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/rtabmap_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/template_ws/docker/compose.yaml b/template_ws/docker/compose.yaml index 71f91389..f6b6ea55 100644 --- a/template_ws/docker/compose.yaml +++ b/template_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/template_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/tests/diff_base/docker/compose.yaml b/tests/diff_base/docker/compose.yaml index 7f56b391..8dafaf83 100644 --- a/tests/diff_base/docker/compose.yaml +++ b/tests/diff_base/docker/compose.yaml @@ -45,15 +45,15 @@ services: - ROS2_WS=/home/ros2-essentials/{PLACEHOLDER}_ws # TODO: Add more environment variables here. {PLACEHOLDER_MULTILINE} - # TODO: Uncomment the lines below to enable GPU support. - {PLACEHOLDER_#}# Reference: https://docs.docker.com/compose/gpu-support/ - {PLACEHOLDER_#}deploy: - {PLACEHOLDER_#} resources: - {PLACEHOLDER_#} reservations: - {PLACEHOLDER_#} devices: - {PLACEHOLDER_#} - driver: nvidia - {PLACEHOLDER_#} count: all - {PLACEHOLDER_#} capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container diff --git a/vlp_ws/docker/compose.yaml b/vlp_ws/docker/compose.yaml index c3da2547..e776fca9 100644 --- a/vlp_ws/docker/compose.yaml +++ b/vlp_ws/docker/compose.yaml @@ -44,15 +44,15 @@ services: - RCUTILS_COLORIZED_OUTPUT=1 - ROS2_WS=/home/ros2-essentials/vlp_ws # TODO: Add more environment variables here. - # TODO: Uncomment the lines below to enable GPU support. - # # Reference: https://docs.docker.com/compose/gpu-support/ - # deploy: - # resources: - # reservations: - # devices: - # - driver: nvidia - # count: all - # capabilities: [ gpu ] + # Enable GPU support. + # Reference: https://docs.docker.com/compose/gpu-support/ + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: all + capabilities: [ gpu ] volumes: # Mount local timezone into container. # Reference: https://stackoverflow.com/questions/57607381/how-do-i-change-timezone-in-a-docker-container