[{"data":1,"prerenderedAt":474},["ShallowReactive",2],{"wiki-page-/wiki/2024-10-03-docker-jiao-cheng/ch7-ge-zhong-docker-rong-qi-bu-shu":3,"wiki-doc-items-/wiki/2024-10-03-docker-jiao-cheng/ch7-ge-zhong-docker-rong-qi-bu-shu":409},{"id":4,"title":5,"body":6,"chapter":395,"chapterSort":396,"date":397,"description":131,"docKey":398,"docRoot":399,"docTitle":400,"extension":401,"isWikiDoc":194,"isWikiIndex":402,"layout":403,"meta":404,"navigation":194,"path":405,"seo":406,"stem":407,"wikiDepth":139,"__hash__":408},"content/wiki/2024-10-03-Docker教程/ch7-各种Docker容器部署.md","各种Docker容器部署",{"type":7,"value":8,"toc":391},"minimark",[9,13,22,25,28,33,38,46,52,55,88,91,117,120,125,151,155,161,168,172,175,221,225,231,236,239,242,248,251,291,295,301,306,347,387],[10,11,12],"h3",{"id":12},"部署容器步骤",[14,15,16,17,21],"p",{},"先从dockerhub拉取（docker pull）镜像，",[18,19,20],"strong",{},"然后再通过docker run命令创建容器即可。","（直接运行docker run命令也行，这会自己寻找本地镜像并创建，如果本地没有则会自动去dockerhub上寻找镜像并拉取创建容器一条龙服务。）",[14,23,24],{},"下面是各大容器拉取的命令（均支持amd64和arm64架构）：",[10,26,27],{"id":27},"各大容器拉取",[29,30,32],"h4",{"id":31},"vinci机器人队暂时主使用的docker版本","Vinci机器人队暂时主使用的docker版本",[14,34,35],{},[18,36,37],{},"（该版本暂未构建上传到dockerhub，但是tungchiahui/ros-opencv:humble-411-cuda128-cudnn970-jammy已经实现了下列说的全部了）",[14,39,40],{},[41,42,43],"a",{"href":43,"rel":44},"https://hub.docker.com/repositories/sdutvincirobot",[45],"nofollow",[14,47,48],{},[41,49,50],{"href":50,"rel":51},"https://github.com/SDUTVINCI/docker",[45],[14,53,54],{},"使用以下带有CUDA和CuDNN的Docker必须满足的条件:",[56,57,58,62,65,68],"ol",{},[59,60,61],"li",{},"有英伟达NVIDIA独立显卡",[59,63,64],{},"显卡驱动必须满足≥570.86.10",[59,66,67],{},"设备的架构必须为amd64(x86_64)架构或者aarch64(arm64)架构。(绝大多数设备均满足)",[59,69,70,71],{},"支持的显卡型号如下:",[56,72,73,76,79,82,85],{},[59,74,75],{},"GTX10系列桌面端、移动端显卡均已支持",[59,77,78],{},"RTX20-RTX50系列桌面端、移动端显卡均已支持",[59,80,81],{},"NVIDIA Jetson AGX Orin、NVIDIA Jetson Orin NX、NVIDIA Jetson Orin Nano工控机已支持",[59,83,84],{},"NVIDIA Jetson AGX Xavier、NVIDIA Jetson Xavier NX工控机已支持",[59,86,87],{},"其他显卡均未适配，强行使用其他显卡肯定会有不兼容的问题，如果想要适配你的显卡型号，请单独联系学长",[14,89,90],{},"该镜像包含的内容：",[56,92,93,96,99,102,105,108,111,114],{},[59,94,95],{},"Ubuntu22.04",[59,97,98],{},"ROS2 Humble",[59,100,101],{},"OpenCV4.11",[59,103,104],{},"CUDA12.8",[59,106,107],{},"CuDNN9.7.0",[59,109,110],{},"cv_bridge(amd64支持，但arm64暂时没构建，请自行构建)",[59,112,113],{},"Livox-SDK2",[59,115,116],{},"(但无Livox-ROS-Driver2，自己在ws下编译吧)",[14,118,119],{},"请电控组成员在组长的允许下，变更该docker镜像内容，dockerfile和镜像均上传到github及dockerhub上了。",[56,121,122],{},[59,123,124],{},"从dockerhub上拉取镜像",[126,127,132],"pre",{"className":128,"code":129,"language":130,"meta":131,"style":131},"language-bash shiki shiki-themes github-light github-dark","docker pull sdutvincirobot/ros-opencv:humble-411\n","bash","",[133,134,135],"code",{"__ignoreMap":131},[136,137,140,144,148],"span",{"class":138,"line":139},"line",1,[136,141,143],{"class":142},"sScJk","docker",[136,145,147],{"class":146},"sZZnC"," pull",[136,149,150],{"class":146}," sdutvincirobot/ros-opencv:humble-411\n",[29,152,154],{"id":153},"rosopencv纯cpu版本","ROS+OpenCV纯CPU版本",[14,156,157],{},[41,158,159],{"href":159,"rel":160},"https://hub.docker.com/repository/docker/tungchiahui/ros",[45],[14,162,163],{},[41,164,167],{"href":165,"rel":166},"https://github.com/tungchiahui/ros-docker/blob/main/README-zh%5C_CN.md",[45],"https://github.com/tungchiahui/ros-docker/blob/main/README-zh\\_CN.md",[56,169,170],{},[59,171,124],{},[14,173,174],{},"暂时主要维护ROS Humble的版本，其他版本随缘更新，但也基本都是非常够用的状态（随着战队主要使用的版本而变化）",[126,176,178],{"className":128,"code":177,"language":130,"meta":131,"style":131},"docker pull tungchiahui/ros:noetic-focal\n\ndocker pull tungchiahui/ros:humble-jammy\n\ndocker pull tungchiahui/ros:jazzy-noble\n",[133,179,180,189,196,206,211],{"__ignoreMap":131},[136,181,182,184,186],{"class":138,"line":139},[136,183,143],{"class":142},[136,185,147],{"class":146},[136,187,188],{"class":146}," tungchiahui/ros:noetic-focal\n",[136,190,192],{"class":138,"line":191},2,[136,193,195],{"emptyLinePlaceholder":194},true,"\n",[136,197,199,201,203],{"class":138,"line":198},3,[136,200,143],{"class":142},[136,202,147],{"class":146},[136,204,205],{"class":146}," tungchiahui/ros:humble-jammy\n",[136,207,209],{"class":138,"line":208},4,[136,210,195],{"emptyLinePlaceholder":194},[136,212,214,216,218],{"class":138,"line":213},5,[136,215,143],{"class":142},[136,217,147],{"class":146},[136,219,220],{"class":146}," tungchiahui/ros:jazzy-noble\n",[29,222,224],{"id":223},"无rosopencv411cuda128cudnn970","（无ROS）OpenCV4.11+CUDA12.8+CuDNN9.7.0",[14,226,227],{},[41,228,229],{"href":229,"rel":230},"https://hub.docker.com/repository/docker/tungchiahui/opencv",[45],[14,232,233],{},[41,234,167],{"href":165,"rel":235},[45],[14,237,238],{},"OpenCV4.11+CUDA12.8+CuDNN9.7.0：",[14,240,241],{},"（因为50系显卡最低要跑CUDA12.8,所以拉高门槛）",[14,243,244],{},[41,245,246],{"href":246,"rel":247},"https://pcnveplwrxf8.feishu.cn/sync/HtRPdZxPHsfwnwbXDsjcBfVcnah",[45],[14,249,250],{},"暂时主要维护Ubuntu Jammy的版本，其他版本随缘更新，但也基本都是非常够用的状态（随着战队主要使用的版本而变化）",[126,252,254],{"className":128,"code":253,"language":130,"meta":131,"style":131},"docker pull tungchiahui/opencv:411-cuda128-cudnn970-focal\n\ndocker pull tungchiahui/opencv:411-cuda128-cudnn971-jammy\n\ndocker pull tungchiahui/opencv:411-cuda128-cudnn971-noble\n",[133,255,256,265,269,278,282],{"__ignoreMap":131},[136,257,258,260,262],{"class":138,"line":139},[136,259,143],{"class":142},[136,261,147],{"class":146},[136,263,264],{"class":146}," tungchiahui/opencv:411-cuda128-cudnn970-focal\n",[136,266,267],{"class":138,"line":191},[136,268,195],{"emptyLinePlaceholder":194},[136,270,271,273,275],{"class":138,"line":198},[136,272,143],{"class":142},[136,274,147],{"class":146},[136,276,277],{"class":146}," tungchiahui/opencv:411-cuda128-cudnn971-jammy\n",[136,279,280],{"class":138,"line":208},[136,281,195],{"emptyLinePlaceholder":194},[136,283,284,286,288],{"class":138,"line":213},[136,285,143],{"class":142},[136,287,147],{"class":146},[136,289,290],{"class":146}," tungchiahui/opencv:411-cuda128-cudnn971-noble\n",[29,292,294],{"id":293},"rosopencv411cuda128cudnn970","ROS+OpenCV4.11+CUDA12.8+CuDNN9.7.0",[14,296,297],{},[41,298,299],{"href":299,"rel":300},"https://hub.docker.com/repository/docker/tungchiahui/ros-opencv/general",[45],[14,302,303],{},[41,304,167],{"href":165,"rel":305},[45],[56,307,308],{},[59,309,310,311,314,315,317,318,54,320,344,346],{},"拉取镜像：",[312,313],"br",{},"  ROS+OpenCV4.11+CUDA12.8+CuDNN9.7.0：",[312,316],{},"  （因为50系显卡最低要跑CUDA12.8,所以拉高门槛）",[312,319],{},[56,321,322,324,326,328,330],{},[59,323,61],{},[59,325,64],{},[59,327,67],{},[59,329,110],{},[59,331,70,332],{},[56,333,334,336,338,340,342],{},[59,335,75],{},[59,337,78],{},[59,339,81],{},[59,341,84],{},[59,343,87],{},[312,345],{},"  暂时主要维护ROS Humble的版本，其他版本随缘更新，但也基本都是非常够用的状态随着战队主要使用的版本而变化）",[126,348,350],{"className":128,"code":349,"language":130,"meta":131,"style":131},"docker pull tungchiahui/ros-opencv:noetic-411-cuda128-cudnn970-focal\n\ndocker pull tungchiahui/ros-opencv:humble-411-cuda128-cudnn970-jammy\n\ndocker pull tungchiahui/ros-opencv:jazzy-411-cuda128-cudnn971-noble\n",[133,351,352,361,365,374,378],{"__ignoreMap":131},[136,353,354,356,358],{"class":138,"line":139},[136,355,143],{"class":142},[136,357,147],{"class":146},[136,359,360],{"class":146}," tungchiahui/ros-opencv:noetic-411-cuda128-cudnn970-focal\n",[136,362,363],{"class":138,"line":191},[136,364,195],{"emptyLinePlaceholder":194},[136,366,367,369,371],{"class":138,"line":198},[136,368,143],{"class":142},[136,370,147],{"class":146},[136,372,373],{"class":146}," tungchiahui/ros-opencv:humble-411-cuda128-cudnn970-jammy\n",[136,375,376],{"class":138,"line":208},[136,377,195],{"emptyLinePlaceholder":194},[136,379,380,382,384],{"class":138,"line":213},[136,381,143],{"class":142},[136,383,147],{"class":146},[136,385,386],{"class":146}," tungchiahui/ros-opencv:jazzy-411-cuda128-cudnn971-noble\n",[388,389,390],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":131,"searchDepth":191,"depth":191,"links":392},[393,394],{"id":12,"depth":198,"text":12},{"id":27,"depth":198,"text":27},"7",7000000,"2024-10-03","2024-10-03-docker-jiao-cheng","/wiki/2024-10-03-docker-jiao-cheng","Docker教程","md",false,null,{},"/wiki/2024-10-03-docker-jiao-cheng/ch7-ge-zhong-docker-rong-qi-bu-shu",{"title":5,"description":131},"wiki/2024-10-03-Docker教程/ch7-各种Docker容器部署","91thZLh8f_5eCo7jgfW_DVJ9ufH59ZeXZzM5dvJ9sL0",[410,416,422,428,434,440,446,452,458,459,465,471],{"path":411,"stem":412,"title":413,"date":397,"chapter":414,"chapterSort":415,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch1-jian-jie","wiki/2024-10-03-Docker教程/ch1-简介","简介","1",1000000,{"path":417,"stem":418,"title":419,"date":397,"chapter":420,"chapterSort":421,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch10-1-kuai-su-da-kai-zhong-duan","wiki/2024-10-03-Docker教程/ch10-1-快速打开终端","Docker快速打开终端","10.1",10010000,{"path":423,"stem":424,"title":425,"date":397,"chapter":426,"chapterSort":427,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch10-docker-shi-yong-you-hua","wiki/2024-10-03-Docker教程/ch10-Docker使用优化","Docker使用优化","10",10000000,{"path":429,"stem":430,"title":431,"date":397,"chapter":432,"chapterSort":433,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch2-an-zhuang-docker","wiki/2024-10-03-Docker教程/ch2-安装Docker","安装Docker","2",2000000,{"path":435,"stem":436,"title":437,"date":397,"chapter":438,"chapterSort":439,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch3-docker-zhi-tong","wiki/2024-10-03-Docker教程/ch3-Docker直通","Docker直通","3",3000000,{"path":441,"stem":442,"title":443,"date":397,"chapter":444,"chapterSort":445,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch4-dockerhub-huan-yuan","wiki/2024-10-03-Docker教程/ch4-DockerHub换源","DockerHub换源","4",4000000,{"path":447,"stem":448,"title":449,"date":397,"chapter":450,"chapterSort":451,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch5-docker-rong-qi-li-de-cheng-xu-de-tu-xing-jie-mian-tan-bu-chu-lai","wiki/2024-10-03-Docker教程/ch5-docker容器里的程序的图形界面弹不出来","docker容器里的程序的图形界面弹不出来","5",5000000,{"path":453,"stem":454,"title":455,"date":397,"chapter":456,"chapterSort":457,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch6-docker-ming-ling-xue-xi","wiki/2024-10-03-Docker教程/ch6-Docker命令学习","Docker命令学习","6",6000000,{"path":405,"stem":407,"title":5,"date":397,"chapter":395,"chapterSort":396,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},{"path":460,"stem":461,"title":462,"date":397,"chapter":463,"chapterSort":464,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch8-shou-dong-chuang-jian-docker-jing-xiang","wiki/2024-10-03-Docker教程/ch8-手动创建Docker镜像","手动创建Docker镜像","8",8000000,{"path":466,"stem":467,"title":468,"date":397,"chapter":469,"chapterSort":470,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":402},"/wiki/2024-10-03-docker-jiao-cheng/ch9-vscode-yuan-cheng-kai-fa","wiki/2024-10-03-Docker教程/ch9-VScode远程开发","VScode远程开发","9",9000000,{"path":399,"stem":472,"title":400,"date":397,"chapter":403,"chapterSort":473,"docKey":398,"docRoot":399,"docTitle":400,"isWikiDoc":194,"isWikiIndex":194},"wiki/2024-10-03-Docker教程/index",0,1778560328038]