当前位置:网站首页>One click installation with fishros in blue bridge ROS

One click installation with fishros in blue bridge ROS

2022-07-07 23:47:00 zhangrelay

Before , Provide the following ways to solve the update problem :

ROS Domain name resolution problem record ( Blue bridge cloud class ros.asc)


Good reputation fishros Is one click installation ok ?

Give it a try :

First adjust the resolution , as follows : 


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 


Give it a try :

 

Error !

Add authority :

chmod 777 fishros

And then execute :

Everything is going well .

Try the installation , Common mode :

Very smoothly !

 

No problems , Update to :

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


Have a try rosdep!

 

We have a little problem …… 

 


Have a try docker, Install the latest version ros2:

 


 


 

Garbled records :

[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\u201d

fishros                                   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\u5230

E: \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\u3002

Run 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\uff1a
  ros-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\u3002

Run 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 ROS

Run 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\u201d

fishros                                   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\u5230

E: \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_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise 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_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise 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\u201d

fishros                                   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\u5230

E: \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\u3002asese

Run 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) <[email protected]>D88

Run 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\u3002

Run CMD Task:[sudo apt-cache search docker-ce ]
[-]Result:success                           cation container enginer engine

Run 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 managerrr

Run 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] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default 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 quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run '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 --help

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default 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 quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run '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 containers

Options:
  -a, --attach               Attach STDOUT/STDERR and forward signals
      --detach-keys string   Override the key sequence for detaching a
                             container
  -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:    default
 Debug Mode: false
 Plugins:
  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] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default 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 quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run '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 COMMAND

Manage images

Commands:
  build       Build an image from a Dockerfile
  history     Show the history of an image
  import      Import the contents from a tarball to create a filesystem image
  inspect     Display detailed information on one or more images
  load        Load an image from a tar archive or STDIN
  ls          List images
  prune       Remove unused images
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rm          Remove one or more images
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

Run '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] IMAGE

Show the history of an image
shiyanlou:bin/ $ docker image history --help                         [16:56:19]

Usage:  docker image history [OPTIONS] IMAGE

Show the history of an image

Options:
      --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] IMAGE

Show the history of an image
shiyanlou:bin/ $                                                     [16:56:37]

 

 

原网站

版权声明
本文为[zhangrelay]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207072140470701.html