第 7 節

Deploying various Docker containers

0瀏覽次數0訪問次數--跳出率--平均停留

Steps to deploy the container

First, pull the image from Docker Hub (docker pull), then create a container using the docker run command. (You can also run the docker run command directly, which will look for the local image and create the container. If the image is not available locally, it will automatically search Docker Hub, pull the image, and create the container in one seamless process.)

Below are the pull commands for major containers (both amd64 and arm64 architectures are supported):

Pulling from major containers

The Vinci robotics team is currently using the Docker version

(This version has not yet been built and uploaded to Docker Hub, but tungchiahui/ros-opencv:humble-411-cuda128-cudnn970-jammy already implements everything described below.)

https://hub.docker.com/repositories/sdutvincirobot

https://github.com/SDUTVINCI/docker

Requirements for using the following Docker with CUDA and CuDNN:

  1. With an NVIDIA discrete graphics card
  2. The graphics card driver must be ≥570.86.10.
  3. The device architecture must be either amd64 (x86_64) or aarch64 (arm64). (The vast majority of devices meet this requirement.)
  4. The supported graphics card models are as follows:
    1. The GTX 10 series desktop and mobile graphics cards are both supported.
    2. RTX 20 to RTX 50 series desktop and mobile graphics cards are all supported.
    3. NVIDIA Jetson AGX Orin, NVIDIA Jetson Orin NX, and NVIDIA Jetson Orin Nano industrial PCs are now supported.
    4. NVIDIA Jetson AGX Xavier and NVIDIA Jetson Xavier NX industrial PCs are now supported.
    5. Other graphics cards are not supported. Forcing the use of an unsupported graphics card will inevitably cause compatibility issues. If you need support for your specific graphics card model, please contact the senior student individually.

The contents of this image include:

  1. Ubuntu22.04
  2. ROS2 Humble
  3. OpenCV4.11
  4. CUDA12.8
  5. CuDNN9.7.0
  6. cv_bridge (amd64 supported, but arm64 not yet built; please build it yourself)
  7. Livox-SDK2
  8. (But without Livox-ROS-Driver2, compile it yourself under ws.)

Please have the electrical control team members, with the team leader's permission, modify the content of this Docker image. The Dockerfile and the image have both been uploaded to GitHub and DockerHub.

  1. Pull the image from Docker Hub.
docker pull sdutvincirobot/ros-opencv:humble-411

ROS + OpenCV CPU-only version

https://hub.docker.com/repository/docker/tungchiahui/ros

https://github.com/tungchiahui/ros-docker/blob/main/README-zh\_CN.md

  1. Pull the image from Docker Hub.

Currently, I primarily maintain the ROS Humble version. Updates for other versions are sporadic, but they are generally in a very usable state (changing along with the version primarily used by the team).

docker pull tungchiahui/ros:noetic-focal

docker pull tungchiahui/ros:humble-jammy

docker pull tungchiahui/ros:jazzy-noble

(No ROS) OpenCV 4.11 + CUDA 12.8 + CuDNN 9.7.0

https://hub.docker.com/repository/docker/tungchiahui/opencv

https://github.com/tungchiahui/ros-docker/blob/main/README-zh\_CN.md

OpenCV4.11+CUDA12.8+CuDNN9.7.0:

(Because the 50-series graphics cards require at least CUDA 12.8 to run, the bar has been raised.)

https://pcnveplwrxf8.feishu.cn/sync/HtRPdZxPHsfwnwbXDsjcBfVcnah

Currently, the Ubuntu Jammy version is primarily maintained. Updates for other versions are occasional, but they are generally in a very usable state (changing along with the version mainly used by the team).

docker pull tungchiahui/opencv:411-cuda128-cudnn970-focal

docker pull tungchiahui/opencv:411-cuda128-cudnn971-jammy

docker pull tungchiahui/opencv:411-cuda128-cudnn971-noble

ROS+OpenCV4.11+CUDA12.8+CuDNN9.7.0

https://hub.docker.com/repository/docker/tungchiahui/ros-opencv/general

https://github.com/tungchiahui/ros-docker/blob/main/README-zh\_CN.md

  1. Pull the image:
      ROS+OpenCV4.11+CUDA12.8+CuDNN9.7.0:

(Because the 50-series graphics cards require at least CUDA 12.8 to run, the bar has been raised.)

Requirements for using the following Docker with CUDA and CuDNN:

1.  With an NVIDIA discrete graphics card

2.  The graphics card driver must be ≥570.86.10.

3.  The device architecture must be either amd64 (x86_64) or aarch64 (arm64). (The vast majority of devices meet this requirement.)

4.  cv_bridge (amd64 supported, but arm64 not yet built; please build it yourself)

5.  The supported graphics card models are as follows:

    1.  The GTX 10 series desktop and mobile graphics cards are both supported.

    2.  RTX 20 to RTX 50 series desktop and mobile graphics cards are all supported.

    3.  NVIDIA Jetson AGX Orin, NVIDIA Jetson Orin NX, and NVIDIA Jetson Orin Nano industrial PCs are now supported.

    4.  NVIDIA Jetson AGX Xavier and NVIDIA Jetson Xavier NX industrial PCs are now supported.

    5.  Other graphics cards are not supported. Forcing the use of an unsupported graphics card will inevitably cause compatibility issues. If you need support for your specific graphics card model, please contact the senior student individually.

Currently, the ROS Humble version is primarily maintained. Updates for other versions are sporadic, but they are generally in a very usable state, evolving alongside the version mainly used by the team.

docker pull tungchiahui/ros-opencv:noetic-411-cuda128-cudnn970-focal

docker pull tungchiahui/ros-opencv:humble-411-cuda128-cudnn970-jammy

docker pull tungchiahui/ros-opencv:jazzy-411-cuda128-cudnn971-noble
音乐页