蓝桥ROS中使用fishros一键安装

之前,提供如下方式解决更新问题:

ROS域名解析问题记录(蓝桥云课ros.asc)


口碑很赞的fishros一键安装是否可以呢?

试一试看:

先调整一下分辨率,如下: 


fishros:

mkdir -p /tmp/fishinstall/tools
wget http://fishros.com/install/install1s/install.py -O /tmp/fishinstall/install.py 2>>/dev/null 
source /etc/profile


sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/dpkg/lock-frontend
sudo apt install python3-distro python3-yaml  -y
if [ $UID -eq 0 ];then
    apt-get install sudo 
fi
sudo python3 /tmp/fishinstall/install.py
sudo rm -rf /tmp/fishinstall/
sudo rm fishros
. ~/.bashrc 


试试看:

 

出错啦!

加权限:

chmod 777 fishros

然后再执行:

就一切顺利啦。

试一试安装如何,普通模式:

很顺利!

 

没有遇到任何问题,更新到:

ros-kinetic-ros-base_1.3.2-0xenial-20210503-151705-0800_amd64.deb 


试一试rosdep!

 

遇到了小问题…… 

 


试一试docker,安装最新版本ros2:

 


 


 

乱码记录:

[6]:\u4e00\u952e\u5b89\u88c5:nodejs
[7]:\u4e00\u952e\u5b89\u88c5:VsCode\u5f00\u53d1\u5de5\u5177
[8]:\u4e00\u952e\u5b89\u88c5:Docker
[9]:\u4e00\u952e\u5b89\u88c5:Cartographer(\u5185\u6d4b\u7248v0.1)
[10]:\u4e00\u952e\u5b89\u88c5:\u5fae\u4fe1(\u53ef\u4ee5\u5728Linux\u4e0a\u4f7f\u7528\u7684\u5fae\u4fe1)
[11]:\u4e00\u952e\u5b89\u88c5:ROS+Docker(\u652f\u6301\u6240\u6709\u7248\u672cROS/ROS2)
[77]:\u6d4b\u8bd5\u6a21\u5f0f:\u8fd0\u884c\u81ea\u5b9a\u4e49\u5de5\u5177\u6d4b\u8bd5
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:0
\u662f\u89c9\u5f97\u6ca1\u6709\u5408\u80c3\u53e3\u7684\u83dc\u5417\uff1f\u90a3\u5feb\u8054\u7cfb\u7684\u5c0f\u9c7c\u589e\u52a0\u83dc\u5355\u5427~
\u6b22\u8fce\u52a0\u5165\u673a\u5668\u4eba\u5b66\u4e60\u4ea4\u6d41QQ\u7fa4\uff1a139707339(\u5165\u7fa4\u53e3\u4ee4\uff1a\u4e00\u952e\u5b89\u88c5)
\u5982\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u6253\u5f00\uff1ahttps://fishros.org.cn/forum \u8fdb\u884c\u53cd\u9988
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:39:56]
zsh: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55: ./fishros
shiyanlou:~/ $ ls                                                                                                                                            [16:41:01]
anaconda3  Code  Desktop
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:41:08]
--2022-07-07 16:41:19--  http://fishros.com/install
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 301 Moved Permanently
\u4f4d\u7f6e\uff1ahttp://fishros.com/install/ [\u8ddf\u968f\u81f3\u65b0\u7684 URL]
--2022-07-07 16:41:19--  http://fishros.com/install/
\u518d\u6b21\u4f7f\u7528\u5b58\u5728\u7684\u5230 fishros.com:80 \u7684\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 543 [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201cfishros\u201dfishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      2022-07-07 16:41:19 (82.9 MB/s) - \u5df2\u4fdd\u5b58 \u201cfishros\u201d [543/543]).: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:41:19]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:41:24]
./fishros: 3: ./fishros: source: not found
rm: \u65e0\u6cd5\u5220\u9664'/var/cache/apt/archives/lock': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
rm: \u65e0\u6cd5\u5220\u9664'/var/lib/dpkg/lock-frontend': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811       
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210       
\u6ca1\u6709\u53ef\u7528\u7684\u8f6f\u4ef6\u5305 python3-distro\uff0c\u4f46\u662f\u5b83\u88ab\u5176\u5b83\u7684\u8f6f\u4ef6\u5305\u5f15\u7528\u4e86\u3002
\u8fd9\u53ef\u80fd\u610f\u5473\u7740\u8fd9\u4e2a\u7f3a\u5931\u7684\u8f6f\u4ef6\u5305\u53ef\u80fd\u5df2\u88ab\u5e9f\u5f03\uff0c
\u6216\u8005\u53ea\u80fd\u5728\u5176\u4ed6\u53d1\u5e03\u6e90\u4e2d\u627e\u5230E: \u8f6f\u4ef6\u5305 python3-distro \u6ca1\u6709\u53ef\u5b89\u88c5\u5019\u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:41:28--  http://fishros.com/install/install1s/tools/base.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 41998 (41K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/base.py\u201d/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   2022-07-07 16:41:28 (1.34 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/base.py\u201d [41998/41998])Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           \u57fa\u7840\u68c0\u67e5\u901a\u8fc7...
===============================================================================
======\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5\u5de5\u5177\uff0c\u4eba\u751f\u82e6\u77ed\uff0c\u4e09\u7701\u543e\u8eab\uff0c\u7701\u65f6\u7701\u529b\u7701\u5fc3!=======
======\u4e00\u952e\u5b89\u88c5\u5df2\u5f00\u6e90\uff0c\u8bf7\u653e\u5fc3\u4f7f\u7528\uff1ahttps://github.com/fishros/install=======
===============================================================================.-~~~~~~~~~-._       _.-~~~~~~~~~-.__.'              ~.   .~              `.__.'//     \u5f00\u5377\u6709\u76ca        \./     \u4e66\u5c71\u6709\u8def     \ `..'// \u53ef\u4ee5\u591a\u770b\u770b\u5c0f\u9c7c\u7684\u6587\u7ae0   |    \u5173\u6ce8\u516c\u4f17\u53f7\u9c7c\u9999ROS  \ `..'// .-~"~~~~-._     |     _,-~~~~"~-. \`..'//.-"                 `-.  |  .-'                 "-.\`..'//______.============-..   \ | /   ..-============.______\`..'______________________________\|/______________________________`----------------------------------------------------------------------
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
---\u4f17\u591a\u5de5\u5177\uff0c\u7b49\u541b\u6765\u7528---
[0]:quit
[1]:\u4e00\u952e\u5b89\u88c5:ROS(\u652f\u6301ROS\u548cROS2,\u6811\u8393\u6d3eJetson)
[2]:\u4e00\u952e\u5b89\u88c5:github\u684c\u9762\u7248(\u5c0f\u9c7c\u5e38\u7528\u7684github\u5ba2\u6237\u7aef)
[3]:\u4e00\u952e\u914d\u7f6e:rosdep(\u5c0f\u9c7c\u7684rosdepc,\u53c8\u5feb\u53c8\u597d\u7528)
[4]:\u4e00\u952e\u914d\u7f6e:ROS\u73af\u5883(\u5feb\u901f\u66f4\u65b0ROS\u73af\u5883\u8bbe\u7f6e,\u81ea\u52a8\u751f\u6210\u73af\u5883\u9009\u62e9)
[5]:\u4e00\u952e\u914d\u7f6e:\u7cfb\u7edf\u6e90(\u66f4\u6362\u7cfb\u7edf\u6e90,\u652f\u6301\u5168\u7248\u672cUbuntu\u7cfb\u7edf)
[6]:\u4e00\u952e\u5b89\u88c5:nodejs
[7]:\u4e00\u952e\u5b89\u88c5:VsCode\u5f00\u53d1\u5de5\u5177
[8]:\u4e00\u952e\u5b89\u88c5:Docker
[9]:\u4e00\u952e\u5b89\u88c5:Cartographer(\u5185\u6d4b\u7248v0.1)
[10]:\u4e00\u952e\u5b89\u88c5:\u5fae\u4fe1(\u53ef\u4ee5\u5728Linux\u4e0a\u4f7f\u7528\u7684\u5fae\u4fe1)
[11]:\u4e00\u952e\u5b89\u88c5:ROS+Docker(\u652f\u6301\u6240\u6709\u7248\u672cROS/ROS2)
[77]:\u6d4b\u8bd5\u6a21\u5f0f:\u8fd0\u884c\u81ea\u5b9a\u4e49\u5de5\u5177\u6d4b\u8bd5
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:1
--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_install_ros.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 17822 (17K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_install_ros.py\u201d/tmp/fishinstall/tools/tool_install_ros.p 100%[=====================================================================================>]  17.40K  --.-KB/s    in 0.03s   2022-07-07 16:41:35 (649 KB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_install_ros.py\u201d [17822/17822])--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_config_rosenv.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 2457 (2.4K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_config_rosenv.py\u201d/tmp/fishinstall/tools/tool_config_rosenv 100%[=====================================================================================>]   2.40K  --.-KB/s    in 0s      2022-07-07 16:41:35 (279 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_config_rosenv.py\u201d [2457/2457])--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_config_system_source.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 7511 (7.3K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_config_system_source.py\u201d/tmp/fishinstall/tools/tool_config_system 100%[=====================================================================================>]   7.33K  --.-KB/s    in 0s      2022-07-07 16:41:35 (583 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_config_system_source.py\u201d [7511/7511])\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5ROS\u548cROS2,\u652f\u6301\u6811\u8393\u6d3eJetson,\u672c\u5de5\u5177\u7531\u4f5c\u8005\u5c0f\u9c7c\u63d0\u4f9b
\u6b22\u8fce\u4f7f\u7528ROS\u5f00\u7bb1\u5b50\u5de5\u5177\uff0c\u672c\u5de5\u5177\u7531[\u9c7c\u9999ROS]\u5c0f\u9c7c\u8d21\u732e..
\u5c0f\u9c7c:\u68c0\u6d4b\u5f53\u524d\u7cfb\u7edfubuntu16.04:xenial \u652f\u6301\u4e00\u952e\u5b89\u88c5ROS
=========\u63a5\u4e0b\u6765\u8fd9\u4e00\u6b65\u5f88\u91cd\u8981\uff0c\u5982\u679c\u4e0d\u77e5\u9053\u600e\u4e48\u9009\u8bf7\u9009\u62e91========
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
\u9996\u6b21\u5b89\u88c5\u4e00\u5b9a\u8981\u6362\u6e90\u5e76\u6e05\u7406\u4e09\u65b9\u6e90\uff0c\u6362\u6e90!!!\u7cfb\u7edf\u9ed8\u8ba4\u56fd\u5916\u6e90\u5bb9\u6613\u5931\u8d25!!
[0]:quit
[1]:\u66f4\u6362\u7cfb\u7edf\u6e90\u518d\u7ee7\u7eed\u5b89\u88c5
[2]:\u4e0d\u66f4\u6362\u7ee7\u7eed\u5b89\u88c5
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:2
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002B]rse amd64 Packages [984 kB]Run CMD Task:[sudo apt-cache search curl ]
[-]Result:success                           age retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into memory..Run CMD Task:[sudo apt install curl -y]
[-]Result:success                           \u89e6\u53d1\u5668 ... ... (7.47.0-1ubuntu2.8) \u4e0a ...gnutls amd64 7.47.0-1ubuntu2.19 [189 kB]Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success                           eplacement (new v2.x)Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success                           \u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 421 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:success                           Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           \u6839\u636e\u60a8\u7684\u7cfb\u7edf\uff0c\u4e3a\u60a8\u63a8\u8350\u5b89\u88c5\u6e90\u4e3a['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
Run CMD Task:[sudo apt update]
[\]\u83b7\u53d6:13 http://packages.ros.org/ros2/ubuntu xenial/main amd64 Packages [131 kB]es [854 kB]
[-]Result:success                            --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002es [131 kB]\u606d\u559c\uff0c\u6210\u529f\u6dfb\u52a0ROS\u6e90\uff0c\u63a5\u4e0b\u6765\u53ef\u4ee5\u4f7f\u7528apt\u5b89\u88c5ROS\u6216\u8005\u4f7f\u7528[1]\u4e00\u952e\u5b89\u88c5ROS\u5b89\u88c5\uff01
Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success                           ends 'ros_core' and includes other basic functionalities like tf2 and urdf.ynamic reconfigure, nodelets, and pluginlib.b.RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
\u8bf7\u9009\u62e9\u4f60\u8981\u5b89\u88c5\u7684ROS\u7248\u672c\u540d\u79f0(\u8bf7\u6ce8\u610fROS1\u548cROS2\u533a\u522b):
[0]:quit
[1]:lunar(ROS2)
[2]:kinetic(ROS1)
[3]:ardent(ROS2)
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:2
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
\u8bf7\u9009\u62e9\u5b89\u88c5\u7684\u5177\u4f53\u7248\u672c(\u5982\u679c\u4e0d\u77e5\u9053\u600e\u4e48\u9009,\u8bf7\u90091\u684c\u9762\u7248):
[0]:quit
[1]:kinetic(ROS1)\u684c\u9762\u7248
[2]:kinetic(ROS1)\u57fa\u7840\u7248(\u5c0f)
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:2
Run CMD Task:[sudo apt install  ros-kinetic-ros-base -y]
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811       
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210       
\u4e0b\u5217\u8f6f\u4ef6\u5305\u5c06\u88ab\u5347\u7ea7\uff1aros-kinetic-ros-base
\u5347\u7ea7\u4e86 1 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u65b0\u5b89\u88c5\u4e86 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u8981\u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 695 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002
\u9700\u8981\u4e0b\u8f7d 1,882 B \u7684\u5f52\u6863\u3002
\u89e3\u538b\u7f29\u540e\u4f1a\u6d88\u8017 0 B \u7684\u989d\u5916\u7a7a\u95f4\u3002
\u83b7\u53d6:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial/main amd64 ros-kinetic-ros-base amd64 1.3.2-0xenial-20210503-151705-0800 [1,882 B]
\u5df2\u4e0b\u8f7d 1,882 B\uff0c\u8017\u65f6 0\u79d2 (9,223 B/s)             
(\u6b63\u5728\u8bfb\u53d6\u6570\u636e\u5e93 ... \u7cfb\u7edf\u5f53\u524d\u5171\u5b89\u88c5\u6709 185892 \u4e2a\u6587\u4ef6\u548c\u76ee\u5f55\u3002)
\u6b63\u51c6\u5907\u89e3\u5305 .../ros-kinetic-ros-base_1.3.2-0xenial-20210503-151705-0800_amd64.deb  ...
\u6b63\u5728\u5c06 ros-kinetic-ros-base (1.3.2-0xenial-20210503-151705-0800) \u89e3\u5305\u5230 (1.3.2-0xenial-20181107-052337-0800) \u4e0a ...
\u6b63\u5728\u8bbe\u7f6e ros-kinetic-ros-base (1.3.2-0xenial-20210503-151705-0800) ...
Run CMD Task:[sudo apt install  ros-kinetic-ros-base -y]
[-]Result:success                           \u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 695 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002Run CMD Task:[sudo apt-cache search python-catkin-tools ]
[-]Result:success                           for working with catkin.Run CMD Task:[sudo apt install python-catkin-tools -y]
[-]Result:success                           ..all.deb  ....nial/main amd64 python-catkin-tools all 0.6.1-1 [314 kB]B]Run CMD Task:[sudo apt-cache search python-rosdep ]
[-]Result:success                           nager abstraction tool for ROSRun CMD Task:[sudo apt install python-rosdep -y]
[-]Result:success                            .....ll.deb  ... \u4e0a ... amd64 python-rosdep-modules all 0.21.0-1 [51.5 kB]B]Run CMD Task:[ls /opt/ros/kinetic/setup.bash]
[-]Result:success                           \u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u914d\u7f6eROS\u5f00\u53d1\u73af\u5883,\u672c\u5de5\u5177\u7531\u4f5c\u8005\u5c0f\u9c7c\u63d0\u4f9b
Run CMD Task:[ls /opt/ros/*/setup.bash]
[-]Result:success                           Run CMD Task:[ls /home/*/.bashrc]
[-]Result:success                           \u68c0\u6d4b\u5230\u7cfb\u7edf\u6709\u591a\u4e2aROS\u73af\u5883,\u4ee5\u4e3a\u4f60\u751f\u6210\u542f\u52a8\u9009\u62e9,\u4fee\u6539~/.bashrc\u53ef\u5173\u95ed
\u606d\u559c\u4f60\uff0c\u5b89\u88c5\u6210\u529f\u4e86\uff0c\u518d\u9644\u8d60\u4f60\u673a\u5668\u4eba\u5b66\u4e60\u5b9d\u85cf\u7f51\u7ad9\uff1a\u9c7c\u9999\u793e\u533a:https://fishros.org.cn/forum
Run CMD Task:[ls /opt/ros/kinetic/setup.bash]
[-]Result:success                           \u5c0f\u9c7c\uff0c\u9ec4\u9ec4\u7684\u63d0\u793a\uff1a\u60a8\u5b89\u88c5\u7684\u662fROS1\uff0c\u53ef\u4ee5\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u7ec8\u7aef\u8f93\u5165roscore\u6d4b\u8bd5\uff01
\u6b22\u8fce\u52a0\u5165\u673a\u5668\u4eba\u5b66\u4e60\u4ea4\u6d41QQ\u7fa4\uff1a139707339(\u5165\u7fa4\u53e3\u4ee4\uff1a\u4e00\u952e\u5b89\u88c5)
\u5982\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u6253\u5f00\uff1ahttps://fishros.org.cn/forum \u8fdb\u884c\u53cd\u9988
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:43:30]
--2022-07-07 16:44:36--  http://fishros.com/install
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 301 Moved Permanently
\u4f4d\u7f6e\uff1ahttp://fishros.com/install/ [\u8ddf\u968f\u81f3\u65b0\u7684 URL]
--2022-07-07 16:44:36--  http://fishros.com/install/
\u518d\u6b21\u4f7f\u7528\u5b58\u5728\u7684\u5230 fishros.com:80 \u7684\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 543 [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201cfishros\u201dfishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      2022-07-07 16:44:36 (71.6 MB/s) - \u5df2\u4fdd\u5b58 \u201cfishros\u201d [543/543]).: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:44:36]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:44:39]
./fishros: 3: ./fishros: source: not found
rm: \u65e0\u6cd5\u5220\u9664'/var/lib/dpkg/lock-frontend': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811       
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210       
\u6ca1\u6709\u53ef\u7528\u7684\u8f6f\u4ef6\u5305 python3-distro\uff0c\u4f46\u662f\u5b83\u88ab\u5176\u5b83\u7684\u8f6f\u4ef6\u5305\u5f15\u7528\u4e86\u3002
\u8fd9\u53ef\u80fd\u610f\u5473\u7740\u8fd9\u4e2a\u7f3a\u5931\u7684\u8f6f\u4ef6\u5305\u53ef\u80fd\u5df2\u88ab\u5e9f\u5f03\uff0c
\u6216\u8005\u53ea\u80fd\u5728\u5176\u4ed6\u53d1\u5e03\u6e90\u4e2d\u627e\u5230E: \u8f6f\u4ef6\u5305 python3-distro \u6ca1\u6709\u53ef\u5b89\u88c5\u5019\u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:44:42--  http://fishros.com/install/install1s/tools/base.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 41998 (41K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/base.py\u201d/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   2022-07-07 16:44:43 (1.24 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/base.py\u201d [41998/41998])Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           \u57fa\u7840\u68c0\u67e5\u901a\u8fc7...
===============================================================================
======\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5\u5de5\u5177\uff0c\u4eba\u751f\u82e6\u77ed\uff0c\u4e09\u7701\u543e\u8eab\uff0c\u7701\u65f6\u7701\u529b\u7701\u5fc3!=======
======\u4e00\u952e\u5b89\u88c5\u5df2\u5f00\u6e90\uff0c\u8bf7\u653e\u5fc3\u4f7f\u7528\uff1ahttps://github.com/fishros/install=======
===============================================================================.-~~~~~~~~~-._       _.-~~~~~~~~~-.__.'              ~.   .~              `.__.'//     \u5f00\u5377\u6709\u76ca        \./     \u4e66\u5c71\u6709\u8def     \ `..'// \u53ef\u4ee5\u591a\u770b\u770b\u5c0f\u9c7c\u7684\u6587\u7ae0   |    \u5173\u6ce8\u516c\u4f17\u53f7\u9c7c\u9999ROS  \ `..'// .-~"~~~~-._     |     _,-~~~~"~-. \`..'//.-"                 `-.  |  .-'                 "-.\`..'//______.============-..   \ | /   ..-============.______\`..'______________________________\|/______________________________`----------------------------------------------------------------------
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
---\u4f17\u591a\u5de5\u5177\uff0c\u7b49\u541b\u6765\u7528---
[0]:quit
[1]:\u4e00\u952e\u5b89\u88c5:ROS(\u652f\u6301ROS\u548cROS2,\u6811\u8393\u6d3eJetson)
[2]:\u4e00\u952e\u5b89\u88c5:github\u684c\u9762\u7248(\u5c0f\u9c7c\u5e38\u7528\u7684github\u5ba2\u6237\u7aef)
[3]:\u4e00\u952e\u914d\u7f6e:rosdep(\u5c0f\u9c7c\u7684rosdepc,\u53c8\u5feb\u53c8\u597d\u7528)
[4]:\u4e00\u952e\u914d\u7f6e:ROS\u73af\u5883(\u5feb\u901f\u66f4\u65b0ROS\u73af\u5883\u8bbe\u7f6e,\u81ea\u52a8\u751f\u6210\u73af\u5883\u9009\u62e9)
[5]:\u4e00\u952e\u914d\u7f6e:\u7cfb\u7edf\u6e90(\u66f4\u6362\u7cfb\u7edf\u6e90,\u652f\u6301\u5168\u7248\u672cUbuntu\u7cfb\u7edf)
[6]:\u4e00\u952e\u5b89\u88c5:nodejs
[7]:\u4e00\u952e\u5b89\u88c5:VsCode\u5f00\u53d1\u5de5\u5177
[8]:\u4e00\u952e\u5b89\u88c5:Docker
[9]:\u4e00\u952e\u5b89\u88c5:Cartographer(\u5185\u6d4b\u7248v0.1)
[10]:\u4e00\u952e\u5b89\u88c5:\u5fae\u4fe1(\u53ef\u4ee5\u5728Linux\u4e0a\u4f7f\u7528\u7684\u5fae\u4fe1)
[11]:\u4e00\u952e\u5b89\u88c5:ROS+Docker(\u652f\u6301\u6240\u6709\u7248\u672cROS/ROS2)
[77]:\u6d4b\u8bd5\u6a21\u5f0f:\u8fd0\u884c\u81ea\u5b9a\u4e49\u5de5\u5177\u6d4b\u8bd5
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:3
--2022-07-07 16:44:49--  http://fishros.com/install/install1s/tools/tool_config_rosdep.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 857 [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_config_rosdep.py\u201d/tmp/fishinstall/tools/tool_config_rosdep 100%[=====================================================================================>]     857  --.-KB/s    in 0s      2022-07-07 16:44:49 (84.3 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_config_rosdep.py\u201d [857/857])\u6b22\u8fce\u4f7f\u7528\u6a21\u677f\u5de5\u7a0b,\u672c\u5de5\u5177\u7531\u4f5c\u8005\u5c0f\u9c7c\u63d0\u4f9b
Run CMD Task:[sudo apt install python3-pip -y]
[-]Result:success                           ..... (8.1.1-2ubuntu0.4) \u4e0a ...md64 python-pip-whl all 8.1.1-2ubuntu0.6 [1,112 kB]Run CMD Task:[sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple rosdepc]
[-]  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8d/14/69b4bad34e3f250afe29a854da03acb6747711f3df06c359fa053fae4e76/docutils-0.18.1-py2.py3-none-any.whl (570[|]  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.wh[-]Result:success                           ocutils-0.18.1 python-dateutil-2.8.2 rosdep-0.22.1 rosdepc-1.0.0 rosdistro-0.9.0 rospkg-1.4.01.10.0)Run CMD Task:[sudo rosdepc init]
[-]Result:success                           hros.org.cn\u53cd\u9988\uff0c\u6216\u8005\u52a0\u5165QQ\u4ea4\u6d41\u7fa4(139707339)Run CMD Task:[sudo rosdepc fix-permissions]
[-]Result:success                           hros.org.cn\u53cd\u9988\uff0c\u6216\u8005\u52a0\u5165QQ\u4ea4\u6d41\u7fa4(139707339)nlou:shiyanlou' (current user)...\u5df2\u4e3a\u60a8\u5b89\u88c5\u597drosdepc,\u8bf7\u4f7f\u7528:
rosdepc update 
\u8fdb\u884c\u6d4b\u8bd5\u66f4\u65b0,\u6700\u540e\u6b22\u8fce\u5173\u6ce8\u5fae\u4fe1\u516c\u4f17\u53f7\u300a\u9c7c\u9999ROS\u300b
\u6b22\u8fce\u52a0\u5165\u673a\u5668\u4eba\u5b66\u4e60\u4ea4\u6d41QQ\u7fa4\uff1a139707339(\u5165\u7fa4\u53e3\u4ee4\uff1a\u4e00\u952e\u5b89\u88c5)
\u5982\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u6253\u5f00\uff1ahttps://fishros.org.cn/forum \u8fdb\u884c\u53cd\u9988
shiyanlou:~/ $ rosdep update                                                                                                                                 [16:45:06]
Traceback (most recent call last):File "/usr/bin/rosdep", line 6, in <module>from pkg_resources import load_entry_pointFile "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>@_call_asideFile "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_asidef(*args, **kwargs)File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_setworking_set = WorkingSet._build_master()File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_masterreturn cls._build_from_requirements(__requires__)File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirementsdists = ws.resolve(reqs, Environment())File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolveraise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rospkg>=1.3.0' distribution was not found and is required by rosdep
shiyanlou:~/ $ rosdep init                                                                                                                                   [16:45:12]
Traceback (most recent call last):File "/usr/bin/rosdep", line 6, in <module>from pkg_resources import load_entry_pointFile "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>@_call_asideFile "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_asidef(*args, **kwargs)File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_setworking_set = WorkingSet._build_master()File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_masterreturn cls._build_from_requirements(__requires__)File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirementsdists = ws.resolve(reqs, Environment())File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolveraise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rospkg>=1.3.0' distribution was not found and is required by rosdep
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:45:34]
zsh: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55: ./fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:46:31]
chmod: \u65e0\u6cd5\u8bbf\u95ee'fishros': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:46:34]
--2022-07-07 16:46:38--  http://fishros.com/install
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 301 Moved Permanently
\u4f4d\u7f6e\uff1ahttp://fishros.com/install/ [\u8ddf\u968f\u81f3\u65b0\u7684 URL]
--2022-07-07 16:46:38--  http://fishros.com/install/
\u518d\u6b21\u4f7f\u7528\u5b58\u5728\u7684\u5230 fishros.com:80 \u7684\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 543 [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201cfishros\u201dfishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      2022-07-07 16:46:38 (72.0 MB/s) - \u5df2\u4fdd\u5b58 \u201cfishros\u201d [543/543]).: \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:46:38]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:46:42]
./fishros: 3: ./fishros: source: not found
rm: \u65e0\u6cd5\u5220\u9664'/var/lib/dpkg/lock-frontend': \u6ca1\u6709\u90a3\u4e2a\u6587\u4ef6\u6216\u76ee\u5f55
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811       
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210       
\u6ca1\u6709\u53ef\u7528\u7684\u8f6f\u4ef6\u5305 python3-distro\uff0c\u4f46\u662f\u5b83\u88ab\u5176\u5b83\u7684\u8f6f\u4ef6\u5305\u5f15\u7528\u4e86\u3002
\u8fd9\u53ef\u80fd\u610f\u5473\u7740\u8fd9\u4e2a\u7f3a\u5931\u7684\u8f6f\u4ef6\u5305\u53ef\u80fd\u5df2\u88ab\u5e9f\u5f03\uff0c
\u6216\u8005\u53ea\u80fd\u5728\u5176\u4ed6\u53d1\u5e03\u6e90\u4e2d\u627e\u5230E: \u8f6f\u4ef6\u5305 python3-distro \u6ca1\u6709\u53ef\u5b89\u88c5\u5019\u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:46:47--  http://fishros.com/install/install1s/tools/base.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 41998 (41K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/base.py\u201d/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   2022-07-07 16:46:47 (1.31 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/base.py\u201d [41998/41998])Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           \u57fa\u7840\u68c0\u67e5\u901a\u8fc7...
===============================================================================
======\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5\u5de5\u5177\uff0c\u4eba\u751f\u82e6\u77ed\uff0c\u4e09\u7701\u543e\u8eab\uff0c\u7701\u65f6\u7701\u529b\u7701\u5fc3!=======
======\u4e00\u952e\u5b89\u88c5\u5df2\u5f00\u6e90\uff0c\u8bf7\u653e\u5fc3\u4f7f\u7528\uff1ahttps://github.com/fishros/install=======
===============================================================================.-~~~~~~~~~-._       _.-~~~~~~~~~-.__.'              ~.   .~              `.__.'//     \u5f00\u5377\u6709\u76ca        \./     \u4e66\u5c71\u6709\u8def     \ `..'// \u53ef\u4ee5\u591a\u770b\u770b\u5c0f\u9c7c\u7684\u6587\u7ae0   |    \u5173\u6ce8\u516c\u4f17\u53f7\u9c7c\u9999ROS  \ `..'// .-~"~~~~-._     |     _,-~~~~"~-. \`..'//.-"                 `-.  |  .-'                 "-.\`..'//______.============-..   \ | /   ..-============.______\`..'______________________________\|/______________________________`----------------------------------------------------------------------
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
---\u4f17\u591a\u5de5\u5177\uff0c\u7b49\u541b\u6765\u7528---
[0]:quit
[1]:\u4e00\u952e\u5b89\u88c5:ROS(\u652f\u6301ROS\u548cROS2,\u6811\u8393\u6d3eJetson)
[2]:\u4e00\u952e\u5b89\u88c5:github\u684c\u9762\u7248(\u5c0f\u9c7c\u5e38\u7528\u7684github\u5ba2\u6237\u7aef)
[3]:\u4e00\u952e\u914d\u7f6e:rosdep(\u5c0f\u9c7c\u7684rosdepc,\u53c8\u5feb\u53c8\u597d\u7528)
[4]:\u4e00\u952e\u914d\u7f6e:ROS\u73af\u5883(\u5feb\u901f\u66f4\u65b0ROS\u73af\u5883\u8bbe\u7f6e,\u81ea\u52a8\u751f\u6210\u73af\u5883\u9009\u62e9)
[5]:\u4e00\u952e\u914d\u7f6e:\u7cfb\u7edf\u6e90(\u66f4\u6362\u7cfb\u7edf\u6e90,\u652f\u6301\u5168\u7248\u672cUbuntu\u7cfb\u7edf)
[6]:\u4e00\u952e\u5b89\u88c5:nodejs
[7]:\u4e00\u952e\u5b89\u88c5:VsCode\u5f00\u53d1\u5de5\u5177
[8]:\u4e00\u952e\u5b89\u88c5:Docker
[9]:\u4e00\u952e\u5b89\u88c5:Cartographer(\u5185\u6d4b\u7248v0.1)
[10]:\u4e00\u952e\u5b89\u88c5:\u5fae\u4fe1(\u53ef\u4ee5\u5728Linux\u4e0a\u4f7f\u7528\u7684\u5fae\u4fe1)
[11]:\u4e00\u952e\u5b89\u88c5:ROS+Docker(\u652f\u6301\u6240\u6709\u7248\u672cROS/ROS2)
[77]:\u6d4b\u8bd5\u6a21\u5f0f:\u8fd0\u884c\u81ea\u5b9a\u4e49\u5de5\u5177\u6d4b\u8bd5
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:11
--2022-07-07 16:46:58--  http://fishros.com/install/install1s/tools/tool_install_ros_with_docker.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 11266 (11K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_install_ros_with_docker.py\u201d/tmp/fishinstall/tools/tool_install_ros_w 100%[=====================================================================================>]  11.00K  --.-KB/s    in 0s      2022-07-07 16:46:59 (168 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_install_ros_with_docker.py\u201d [11266/11266])--2022-07-07 16:46:59--  http://fishros.com/install/install1s/tools/tool_install_vscode.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 1264 (1.2K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_install_vscode.py\u201d/tmp/fishinstall/tools/tool_install_vscod 100%[=====================================================================================>]   1.23K  --.-KB/s    in 0s      2022-07-07 16:46:59 (186 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_install_vscode.py\u201d [1264/1264])--2022-07-07 16:46:59--  http://fishros.com/install/install1s/tools/tool_install_docker.py
\u6b63\u5728\u89e3\u6790\u4e3b\u673a fishros.com (fishros.com)... 139.9.131.171
\u6b63\u5728\u8fde\u63a5 fishros.com (fishros.com)|139.9.131.171|:80... \u5df2\u8fde\u63a5\u3002
\u5df2\u53d1\u51fa HTTP \u8bf7\u6c42\uff0c\u6b63\u5728\u7b49\u5f85\u56de\u5e94... 200 OK
\u957f\u5ea6\uff1a 2455 (2.4K) [application/octet-stream]
\u6b63\u5728\u4fdd\u5b58\u81f3: \u201c/tmp/fishinstall/tools/tool_install_docker.py\u201d/tmp/fishinstall/tools/tool_install_docke 100%[=====================================================================================>]   2.40K  --.-KB/s    in 0s      2022-07-07 16:46:59 (324 MB/s) - \u5df2\u4fdd\u5b58 \u201c/tmp/fishinstall/tools/tool_install_docker.py\u201d [2455/2455])\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5ROS-Docker\u7248,\u652f\u6301\u6240\u6709\u7248\u672cROS,\u672c\u5de5\u5177\u7531\u4f5c\u8005\u5c0f\u9c7c\u63d0\u4f9b
================================1.\u7248\u672c\u9009\u62e9======================================
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
\u8bf7\u9009\u62e9\u4f60\u8981\u5b89\u88c5\u7684ROS\u7248\u672c\u540d\u79f0(\u8bf7\u6ce8\u610fROS1\u548cROS2\u533a\u522b):
[0]:quit
[1]:noetic
[2]:humble
[3]:foxy
[4]:galactic
[5]:melodic
[6]:rolling
[7]:kinetic
[8]:eloquent
[9]:dashing
[10]:crystal
[11]:bouncy
[12]:ardent
[13]:lunar
[14]:indigo
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:2
\u4f60\u9009\u62e9\u4e86humble(ROS2),\u8be5\u7248\u672c\u76ee\u524d\u72b6\u6001:\u957f\u671f\u652f\u6301
================================2.\u5b89\u88c5Docker======================================
\u6b22\u8fce\u4f7f\u7528\u4e00\u952e\u5b89\u88c5Docker\uff0c\u652f\u6301amd64\u548carm64\u67b6\u6784\u7cfb\u7edf,\u672c\u5de5\u5177\u7531\u4f5c\u8005alyssa\u63d0\u4f9b
\u5f00\u59cb\u6839\u636e\u7cfb\u7edf\u67b6\u6784,\u4e3a\u4f60\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684docker~
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002aseseRun CMD Task:[sudo apt install apt-transport-https ca-certificates curl software-properties-common -y]
[-]Result:success                           ate.d...\u89e6\u53d1\u5668 ....20.7) \u4e0a ....python3-software-properties all 0.96.20.10 [20.2 kB]Run CMD Task:[curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -]
[-]Result:success                           Run CMD Task:[sudo apt-key fingerprint 0EBFCD88]
[-]Result:success                           eb) <docker@docker.com>D88Run CMD Task:[sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" -y]
\u4e0b\u8f7d\u5b8c\u6210,\u63a5\u4e0b\u6765\u5347\u7ea7apt\u7d22\u5f15~
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002ble amd64 Packages [23.9 kB]\u5f00\u59cb\u5b89\u88c5\u6700\u65b0\u7248\u672cdocker CE~
Run CMD Task:[sudo apt --fix-broken install -y]
[-]Result:success                           \u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 685 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002Run CMD Task:[sudo apt-cache search docker-ce ]
[-]Result:success                           cation container enginer engineRun CMD Task:[sudo apt install docker-ce -y]
[-]Result:success                           \u89e6\u53d1\u5668 .....ntu-xenial) ...al_amd64.deb  ... ...plugin amd64 0.8.0~ubuntu-xenial [3,889 kB]nial [9,052 kB]Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success                           managementrminal-based package managerrrRun CMD Task:[sudo apt install aptitude -y]
[-]Result:success                           \u89e6\u53d1\u5668 ....\u5728\u81ea\u52a8\u6a21\u5f0f\u4e2d\u63d0\u4f9b /usr/bin/aptitude (aptitude)l 1.2.0-8 [50.4 kB]Run CMD Task:[sudo groupadd docker]
[-]Result:code:9                           Run CMD Task:[users]
[-]Result:success                           Run CMD Task:[sudo gpasswd -a shiyanlou docker]
[-]Result:success                           \u5b89\u88c5\u5b8c\u6210,\u63a5\u4e0b\u6765\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4f7f\u7528docker --version\u6307\u4ee4\u6d4b\u8bd5\u662f\u6709\u6b63\u5e38\u56de\u663e~
=================3.\u4e0b\u8f7d\u955c\u50cf\uff08\u8be5\u6b65\u9aa4\u56e0\u7f51\u7edc\u539f\u56e0\u4f1a\u6162\u4e00\u4e9b\uff0c\u82e5\u5931\u8d25\u8bf7\u91cd\u8bd5\uff09==================
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
================================4.\u751f\u6210\u5bb9\u5668======================================
\u8bf7\u4e3a\u4f60\u7684humble\u5bb9\u5668\u53d6\u4e2a\u540d\u5b57\u5427\uff01
>>humble
\u6536\u5230\u540d\u5b57humble
Run CMD Task:[users]
[-]Result:success                           Run CMD Task:[sudo docker run -dit --name=humble -v /home/shiyanlou:/home/shiyanlou -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/snd -e DISPLAY=unix$DISPLAY -w /home/shiyanlou  fishros2/ros:humble-desktop-full]
docker: unknown server OS: .
See 'docker run --help'.
Run CMD Task:[docker exec -it humble /bin/bash -c "echo -e '
source /opt/ros/humble/setup.bash' >> ~/.bashrc" ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[xhost +local:]
non-network local connections being added to access control list
================================5.\u751f\u6210\u547d\u4ee4======================================
Run CMD Task:[users]
[-]Result:success                           Run CMD Task:[sudo mkdir -p /home/shiyanlou/.fishros/bin/]
[-]Result:success                           Run CMD Task:[sudo chmod 777 /home/shiyanlou/.fishros/bin/humble]
================================6.\u751f\u6210\u4f7f\u7528\u5de5\u5177======================================
RUN Choose Task:[\u8bf7\u8f93\u5165\u62ec\u53f7\u5185\u7684\u6570\u5b57]
\u4e3a\u65b9\u4fbf\u540e\u7eed\u4f7f\u7528\u5bb9\u5668\uff0c\u8bf7\u9009\u62e9\u4f7f\u7528\u65b9\u5f0f\uff0c\u82e5\u4e0d\u77e5\u9053\u600e\u4e48\u9009\uff0c\u63a8\u8350\u5957\u99101,\u82e5\u4e0d\u9700\u8981\u5219\u53ef\u4ee5\u9009\u9000\u51fa:
[0]:quit
[1]:\u5957\u99101:VsCode+\u63d2\u4ef6\uff08\u672c\u5730\u4f7f\u7528\u63a8\u8350\uff09
[2]:\u5957\u99102:SSH-Service\uff08\u8fdc\u7a0b\u4f7f\u7528\u63a8\u8350\uff09
\u8bf7\u8f93\u5165[]\u5185\u7684\u6570\u5b57\u4ee5\u9009\u62e9:0
===========================\u540e\u7eed\u4f7f\u7528\u6307\u4ee4=================================
\u540e\u7eed\u53ef\u5728\u4efb\u610f\u7ec8\u7aef\u8f93\u5165humble\u6765\u542f\u52a8/\u505c\u6b62/\u6d4b\u8bd5/\u5220\u9664\u5bb9\u5668
==============================\u6587\u4ef6\u5b58\u50a8\u4f4d\u7f6e===============================
\u4f60\u7684\u4e3b\u76ee\u5f55\u5df2\u7ecf\u548c\u5bb9\u5668\u7684\u5bf9\u5e94\u76ee\u5f55\u505a\u4e86\u6620\u5c04
==============================\u95ee\u9898\u53cd\u9988&&\u66f4\u65b0\u8ba8\u8bba=============================
\u8bf7\u8bbf\u95ee\u793e\u533a\u7684\u4e00\u952e\u5b89\u88c5\u7248\u5757\uff1ahttps://fishros.org.cn/forum/topic/112
\u6b22\u8fce\u52a0\u5165\u673a\u5668\u4eba\u5b66\u4e60\u4ea4\u6d41QQ\u7fa4\uff1a139707339(\u5165\u7fa4\u53e3\u4ee4\uff1a\u4e00\u952e\u5b89\u88c5)
\u5982\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u6253\u5f00\uff1ahttps://fishros.org.cn/forum \u8fdb\u884c\u53cd\u9988
shiyanlou:~/ $ humble                                                                                                                                        [16:50:48]
zsh: command not found: humble
shiyanlou:~/ $ cd /home/shiyanlou/.fishros/bin/                      [16:52:57]
shiyanlou:bin/ $ ls                                                  [16:53:35]
humble
shiyanlou:bin/ $ humble                                              [16:53:35]
zsh: command not found: humble
shiyanlou:bin/ $ ./humble                                            [16:53:41]
\u8bf7\u8f93\u5165\u6307\u4ee4\u63a7\u5236humble: \u91cd\u542f(r) \u8fdb\u5165(e) \u542f\u52a8(s) \u5173\u95ed(c) \u5220\u9664(d) \u6d4b\u8bd5(t):
e
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
shiyanlou:bin/ $ docker                                              [16:53:54]Usage:  docker [OPTIONS] COMMANDA self-sufficient runtime for containersOptions:--config string      Location of client config files (default"/home/shiyanlou/.docker")-c, --context string     Name of the context to use to connect to thedaemon (overrides DOCKER_HOST env var anddefault context set with "docker context use")-D, --debug              Enable debug mode-H, --host list          Daemon socket(s) to connect to-l, --log-level string   Set the logging level("debug"|"info"|"warn"|"error"|"fatal")(default "info")--tls                Use TLS; implied by --tlsverify--tlscacert string   Trust certs signed only by this CA (default"/home/shiyanlou/.docker/ca.pem")--tlscert string     Path to TLS certificate file (default"/home/shiyanlou/.docker/cert.pem")--tlskey string      Path to TLS key file (default"/home/shiyanlou/.docker/key.pem")--tlsverify          Use TLS and verify the remote-v, --version            Print version information and quitManagement Commands:app*        Docker App (Docker Inc., v0.9.1-beta3)builder     Manage buildsbuildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)config      Manage Docker configscontainer   Manage containerscontext     Manage contextsimage       Manage imagesmanifest    Manage Docker image manifests and manifest listsnetwork     Manage networksnode        Manage Swarm nodesplugin      Manage pluginsscan*       Docker Scan (Docker Inc., v0.8.0)secret      Manage Docker secretsservice     Manage servicesstack       Manage Docker stacksswarm       Manage Swarmsystem      Manage Dockertrust       Manage trust on Docker imagesvolume      Manage volumesCommands:attach      Attach local standard input, output, and error streams to a running containerbuild       Build an image from a Dockerfilecommit      Create a new image from a container's changescp          Copy files/folders between a container and the local filesystemcreate      Create a new containerdiff        Inspect changes to files or directories on a container's filesystemevents      Get real time events from the serverexec        Run a command in a running containerexport      Export a container's filesystem as a tar archivehistory     Show the history of an imageimages      List imagesimport      Import the contents from a tarball to create a filesystem imageinfo        Display system-wide informationinspect     Return low-level information on Docker objectskill        Kill one or more running containersload        Load an image from a tar archive or STDINlogin       Log in to a Docker registrylogout      Log out from a Docker registrylogs        Fetch the logs of a containerpause       Pause all processes within one or more containersport        List port mappings or a specific mapping for the containerps          List containerspull        Pull an image or a repository from a registrypush        Push an image or a repository to a registryrename      Rename a containerrestart     Restart one or more containersrm          Remove one or more containersrmi         Remove one or more imagesrun         Run a command in a new containersave        Save one or more images to a tar archive (streamed to STDOUT by default)search      Search the Docker Hub for imagesstart       Start one or more stopped containersstats       Display a live stream of container(s) resource usage statisticsstop        Stop one or more running containerstag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGEtop         Display the running processes of a containerunpause     Unpause all processes within one or more containersupdate      Update configuration of one or more containersversion     Show the Docker version informationwait        Block until one or more containers stop, then print their exit codesRun 'docker COMMAND --help' for more information on a command.To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker -h                                           [16:54:01]
Flag shorthand -h has been deprecated, please use --helpUsage:  docker [OPTIONS] COMMANDA self-sufficient runtime for containersOptions:--config string      Location of client config files (default"/home/shiyanlou/.docker")-c, --context string     Name of the context to use to connect to thedaemon (overrides DOCKER_HOST env var anddefault context set with "docker context use")-D, --debug              Enable debug mode-H, --host list          Daemon socket(s) to connect to-l, --log-level string   Set the logging level("debug"|"info"|"warn"|"error"|"fatal")(default "info")--tls                Use TLS; implied by --tlsverify--tlscacert string   Trust certs signed only by this CA (default"/home/shiyanlou/.docker/ca.pem")--tlscert string     Path to TLS certificate file (default"/home/shiyanlou/.docker/cert.pem")--tlskey string      Path to TLS key file (default"/home/shiyanlou/.docker/key.pem")--tlsverify          Use TLS and verify the remote-v, --version            Print version information and quitManagement Commands:app*        Docker App (Docker Inc., v0.9.1-beta3)builder     Manage buildsbuildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)config      Manage Docker configscontainer   Manage containerscontext     Manage contextsimage       Manage imagesmanifest    Manage Docker image manifests and manifest listsnetwork     Manage networksnode        Manage Swarm nodesplugin      Manage pluginsscan*       Docker Scan (Docker Inc., v0.8.0)secret      Manage Docker secretsservice     Manage servicesstack       Manage Docker stacksswarm       Manage Swarmsystem      Manage Dockertrust       Manage trust on Docker imagesvolume      Manage volumesCommands:attach      Attach local standard input, output, and error streams to a running containerbuild       Build an image from a Dockerfilecommit      Create a new image from a container's changescp          Copy files/folders between a container and the local filesystemcreate      Create a new containerdiff        Inspect changes to files or directories on a container's filesystemevents      Get real time events from the serverexec        Run a command in a running containerexport      Export a container's filesystem as a tar archivehistory     Show the history of an imageimages      List imagesimport      Import the contents from a tarball to create a filesystem imageinfo        Display system-wide informationinspect     Return low-level information on Docker objectskill        Kill one or more running containersload        Load an image from a tar archive or STDINlogin       Log in to a Docker registrylogout      Log out from a Docker registrylogs        Fetch the logs of a containerpause       Pause all processes within one or more containersport        List port mappings or a specific mapping for the containerps          List containerspull        Pull an image or a repository from a registrypush        Push an image or a repository to a registryrename      Rename a containerrestart     Restart one or more containersrm          Remove one or more containersrmi         Remove one or more imagesrun         Run a command in a new containersave        Save one or more images to a tar archive (streamed to STDOUT by default)search      Search the Docker Hub for imagesstart       Start one or more stopped containersstats       Display a live stream of container(s) resource usage statisticsstop        Stop one or more running containerstag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGEtop         Display the running processes of a containerunpause     Unpause all processes within one or more containersupdate      Update configuration of one or more containersversion     Show the Docker version informationwait        Block until one or more containers stop, then print their exit codesRun 'docker COMMAND --help' for more information on a command.To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker start                                        [16:54:16]
"docker start" requires at least 1 argument.
See 'docker start --help'.Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]Start one or more stopped containers
shiyanlou:bin/ $ docker start --help                                 [16:54:25]Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]Start one or more stopped containersOptions:-a, --attach               Attach STDOUT/STDERR and forward signals--detach-keys string   Override the key sequence for detaching acontainer-i, --interactive          Attach container's STDIN
shiyanlou:bin/ $ docker start -a                                     [16:54:32]
"docker start" requires at least 1 argument.
See 'docker start --help'.Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]Start one or more stopped containers
shiyanlou:bin/ $ docker start -a humble                              [16:54:39]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
shiyanlou:bin/ $ docker info                                         [16:54:45]
Client:Context:    defaultDebug Mode: falsePlugins:app: Docker App (Docker Inc., v0.9.1-beta3)buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)scan: Docker Scan (Docker Inc., v0.8.0)Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
shiyanlou:bin/ $ docker                                              [16:55:06]Usage:  docker [OPTIONS] COMMANDA self-sufficient runtime for containersOptions:--config string      Location of client config files (default"/home/shiyanlou/.docker")-c, --context string     Name of the context to use to connect to thedaemon (overrides DOCKER_HOST env var anddefault context set with "docker context use")-D, --debug              Enable debug mode-H, --host list          Daemon socket(s) to connect to-l, --log-level string   Set the logging level("debug"|"info"|"warn"|"error"|"fatal")(default "info")--tls                Use TLS; implied by --tlsverify--tlscacert string   Trust certs signed only by this CA (default"/home/shiyanlou/.docker/ca.pem")--tlscert string     Path to TLS certificate file (default"/home/shiyanlou/.docker/cert.pem")--tlskey string      Path to TLS key file (default"/home/shiyanlou/.docker/key.pem")--tlsverify          Use TLS and verify the remote-v, --version            Print version information and quitManagement Commands:app*        Docker App (Docker Inc., v0.9.1-beta3)builder     Manage buildsbuildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)config      Manage Docker configscontainer   Manage containerscontext     Manage contextsimage       Manage imagesmanifest    Manage Docker image manifests and manifest listsnetwork     Manage networksnode        Manage Swarm nodesplugin      Manage pluginsscan*       Docker Scan (Docker Inc., v0.8.0)secret      Manage Docker secretsservice     Manage servicesstack       Manage Docker stacksswarm       Manage Swarmsystem      Manage Dockertrust       Manage trust on Docker imagesvolume      Manage volumesCommands:attach      Attach local standard input, output, and error streams to a running containerbuild       Build an image from a Dockerfilecommit      Create a new image from a container's changescp          Copy files/folders between a container and the local filesystemcreate      Create a new containerdiff        Inspect changes to files or directories on a container's filesystemevents      Get real time events from the serverexec        Run a command in a running containerexport      Export a container's filesystem as a tar archivehistory     Show the history of an imageimages      List imagesimport      Import the contents from a tarball to create a filesystem imageinfo        Display system-wide informationinspect     Return low-level information on Docker objectskill        Kill one or more running containersload        Load an image from a tar archive or STDINlogin       Log in to a Docker registrylogout      Log out from a Docker registrylogs        Fetch the logs of a containerpause       Pause all processes within one or more containersport        List port mappings or a specific mapping for the containerps          List containerspull        Pull an image or a repository from a registrypush        Push an image or a repository to a registryrename      Rename a containerrestart     Restart one or more containersrm          Remove one or more containersrmi         Remove one or more imagesrun         Run a command in a new containersave        Save one or more images to a tar archive (streamed to STDOUT by default)search      Search the Docker Hub for imagesstart       Start one or more stopped containersstats       Display a live stream of container(s) resource usage statisticsstop        Stop one or more running containerstag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGEtop         Display the running processes of a containerunpause     Unpause all processes within one or more containersupdate      Update configuration of one or more containersversion     Show the Docker version informationwait        Block until one or more containers stop, then print their exit codesRun 'docker COMMAND --help' for more information on a command.To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker run                                          [16:55:12]
"docker run" requires at least 1 argument.
See 'docker run --help'.Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]Run a command in a new container
shiyanlou:bin/ $ docker list                                         [16:55:44]
docker: 'list' is not a docker command.
See 'docker --help'
shiyanlou:bin/ $ docker image                                        [16:55:54]Usage:  docker image COMMANDManage imagesCommands:build       Build an image from a Dockerfilehistory     Show the history of an imageimport      Import the contents from a tarball to create a filesystem imageinspect     Display detailed information on one or more imagesload        Load an image from a tar archive or STDINls          List imagesprune       Remove unused imagespull        Pull an image or a repository from a registrypush        Push an image or a repository to a registryrm          Remove one or more imagessave        Save one or more images to a tar archive (streamed to STDOUT by default)tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGERun 'docker image COMMAND --help' for more information on a command.
shiyanlou:bin/ $ docker image history                                [16:56:03]
"docker image history" requires exactly 1 argument.
See 'docker image history --help'.Usage:  docker image history [OPTIONS] IMAGEShow the history of an image
shiyanlou:bin/ $ docker image history --help                         [16:56:19]Usage:  docker image history [OPTIONS] IMAGEShow the history of an imageOptions:--format string   Pretty-print images using a Go template-H, --human           Print sizes and dates in human readable format(default true)--no-trunc        Don't truncate output-q, --quiet           Only show image IDs
shiyanlou:bin/ $ docker image history -q                             [16:56:26]
"docker image history" requires exactly 1 argument.
See 'docker image history --help'.Usage:  docker image history [OPTIONS] IMAGEShow the history of an image
shiyanlou:bin/ $                                                     [16:56:37]

 

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://xiahunao.cn/news/255674.html

如若内容造成侵权/违法违规/事实不符,请联系瞎胡闹网进行投诉反馈,一经查实,立即删除!

相关文章

CF 云环境利用框架,一键化利用云上内网

前言 当我们平时拿到云服务的访问凭证即 Access Key 时&#xff0c;通常的做法可能是看下对方的 OSS 对象存储、或者在实例上执行个命令&#xff0c;但 AK 的利用远不止这些&#xff0c;通过 AK 我们可以做太多太多的事情&#xff0c;为了方便 AK 的利用&#xff0c;于是有了这…

python免费 爬取原创力文档并转换成pdf(部分版)

python爬取原创力文档并且保存为pdf文件&#xff08;部分版保姆级 文章目录 *python爬取原创力文档并且保存为pdf文件*&#xff08;部分版保姆级 前言一、爬取背景&#xff1f;二、正&#xff08;bai&#xff09;式&#xff08;piao&#xff09;操作1.安装库2.导入项目所需库3.…

java将json字符串转换成json数组

有些时候我们需要将json字符串转换成数组&#xff0c;并且只取一些属性值进行下一个方法的赋值&#xff0c;这样就涉及到了json字符串的转换了&#xff0c; json字符串有两种形式&#xff0c;一种是以{A,B,C}&#xff0c;一种是[{A},{B},{C}]。但是很多时候是这两种的结合。 …

js 数组、对象转json 以及json转 数组、对象

js 数组、对象转json 以及json转 数组、对象 1、JS对象转JSON 方式&#xff1a;JSON.stringify(obj) var json {"name":"iphone","price":666}; //创建对象&#xff1b; var jsonStr JSON.stringify(json); //转为JSON字符串 console.lo…

数组和JSON之间的格式转换

数组和JSON之间的格式转换 主要代码&#xff1a; const a JSON.stringify(jsonStrings) //object转jsonconst c JSON.parse(a) //json转object标志性代码&#xff1a; const jsonStrings [1, 2, 3]// {"bar": "property", "baz": 3}cons…

如何将JSONArray转为String数组

这里我们讲得JSONArray是阿里巴巴的fastjson 依赖 <dependency><groupId>com.alibaba</groupId><artifactId>fastjson</artifactId><version>1.2.78</version></dependency>直接上代码吧&#xff0c;并不复杂 public static …

手把手教你升级车载导航

【维保】手把手教你升级车载导航 车主档案 车主&#xff1a;深蓝网事 车系&#xff1a;15款新明锐1.4T逸俊版 城市规划每天都在紧张的进行着。 高速公路到达收费年限以后也会在继续修建然后接着收费。 自驾游的时候&#xff0c;面对比较另类的交叉路口不知道怎么走。 总结起来…

如何修复iPhone出现的白苹果问题

iPhone出现白苹果问题&#xff0c;这需要对手机进行系统修复&#xff0c;我们可以带着手机去苹果直营店解决问题&#xff0c;或者也可以自己在家使用iTunes进行恢复操作&#xff08;数据可能会被擦除&#xff09;或者也可以用第三方软件进行解决&#xff0c;我们以奥凯丰 苹果修…

短信恢复 android,苹果手机短信恢复:安卓+苹果手机短信恢复教程,必须收藏!...

原标题&#xff1a;苹果手机短信恢复&#xff1a;安卓苹果手机短信恢复教程&#xff0c;必须收藏&#xff01; 手机短信怎么恢复&#xff1f;日常生活中&#xff0c;大家或多或少会不小心把删除一些不必要的短信&#xff0c;比如注册某软件的验证码的短信&#xff0c;面试通知地…

苹果系统自带的计算机怎么恢复出厂设置,苹果电脑恢复出厂化设置的教程_苹果电脑怎样恢复出厂系统-win7之家...

在使用苹果电脑的时候&#xff0c;可能因为一些原因导致电脑出现系统崩溃或者无法正常启动的故障&#xff0c;很多用户可能会通过重置系统来解决&#xff0c;其实我们可以使用自带的恢复出厂功能来进行恢复&#xff0c;那么苹果电脑怎样恢复出厂系统呢&#xff1f;针对这个问题…

苹果电脑教程之退出ID账号

我们使用mac有时需要登录id账号来使用一些软件&#xff0c;使用完毕之后&#xff0c;一些朋友就会选择退出&#xff0c;可是有的朋友留言找了好久都没找到退出的方法&#xff0c;本期我们就来看看如何退出mac的id账号。 具体方法如下 1.在苹果电脑的系统偏好设置页面&#xf…

苹果cms大橙子和B站模板教程

介绍&#xff1a; 苹果cms大橙子和B站模板更新简介&#xff1a; 1、优化旧版本主题 2、优化首页和列表页采集 3、修复尝鲜分页尾页问题 4、修复历史记录标题过长换行问题 5、修复接口 6、修复广告位弹窗问题 安装步骤&#xff1a; 源码上传至虚拟机或者服务器 访问域名/instal…

Node.js 中的代码调试

目录 1、启用 Inspector 2、安全隐患 3、Inspector 客户端 4、启用远程调试的情形 5、以前的Debugger 1、启用 Inspector 当使用 --inspect 开关时&#xff0c;Node.js 进程开始侦听调试客户端&#xff0c;默认情况下侦听 127.0.0.1:9229 的域名和端口号&#xff1b;每个…

苹果CMS海螺模板4.0修复版带后台 附安装教程

介绍&#xff1a; 注&#xff1a;海螺主题前身是原正版爱看模板&#xff0c;因爱看关键词被盗版抢因此更名海螺主题 这是一款带“模板后台管理系统&#xff0c;功能最全的苹果CMSv10模板”&#xff0c;也许很多功能并不常用但等你用到的时候才能体会它的精妙&#xff0c;颠覆以…

mac苹果系统数据恢复软件恢复苹果电脑硬盘数据教程

很多人用Windows系统的电脑用顺手了&#xff0c;由于工作等原因不得不换成苹果电脑&#xff0c;就感觉苹果电脑的Mac系统用起来非常不顺畅。有时甚至还会进行一些误操作&#xff0c;比如不小心删除了重要的文件、不小心抹掉了磁盘等等。这些操作会导致苹果电脑硬盘上重要的数据…

苹果4s怎么越狱教程_苹果iOS 11.4-11.4.1越狱发布:附越狱教程

来自1月30日晚间消息&#xff0c;国外Electra团队正式发布了苹果iOS 11.4 - 11.4.1越狱(1.2.0版本)&#xff0c;新的版本越狱工具支持适用iOS 11.0–11.4.1内的所有iPhone设备、iPad设备和iPad越狱(可能部分机型存在问题)。 值得一提的是&#xff0c;iOS 11.2-11.4.1系统的A7、…

iPad Air越狱白苹果怎么办?越狱白苹果修复教程

随着iOS7越狱工具的发布&#xff0c;很多果粉第一时间尝试预约&#xff0c;但是很多果粉都遇到了一个很头痛的问题&#xff1a;白苹果&#xff0c;估计这部分果粉们过不好圣诞节喽&#xff01;那这个时候应该如何修复呢&#xff1f;下面小编来介绍下如何恢复白苹果的iPad air&a…

php对接苹果cms采集接口,苹果cms的资讯采集api接口以及使用教程

好多朋友都在说 想建个电影网站&#xff0c;电影资源大家都知道去某某影视资源网去找接口&#xff1b; 蛋是这些资源网只有视频流媒体的网址&#xff0c;采集到的也是播放用的数据&#xff0c;那么苹果cms的资讯&#xff0c;以及演员是在哪里采集呢&#xff1b; 那么请往下看&a…

苹果iPhone手机怎么恢复备份?详细iOS备份怎么恢复教程

iPhone是现在非常流行的电子产品&#xff0c;是时尚的象征&#xff0c;很多人在出了新款以后&#xff0c;就迫不及待的想换新手机。这时候就碰到需要将旧手机中的资料备份到新手机的需求&#xff0c;那么iPhone新机怎么恢复备份以及iOS备份怎么恢复呢&#xff1f;本文就带大家来…

苹果手机电池恢复方法_recover恢复实用教程:苹果手机恢复误删照片的几种方法...

recover恢复实用教程&#xff1a;苹果手机恢复误删照片的几种方法&#xff0c;如今智能机的普及率相当的高&#xff0c;在众多用户的手机当中存储着很多重要的文件数据等&#xff0c;尤其是像相册中的照片&#xff0c;很多人的回忆都在里面&#xff0c;那么一旦数据出现了丢失或…