不知道怎么办
root@openstick:# wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec# bt 14
-bash: wget: command not found
root@openstick:
-bash: bt: command not found
root@openstick:# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh# wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
-bash: yum: command not found
root@openstick:
-bash: wget: command not found
root@openstick:~#
首先你的docker内没有wget、yum等命令,建议先排查docker镜像系统,如果是centos一般是系统确实安装命令,如果是Ubuntu系统就需要使用Ubuntu命令,如apt、apt-get 一般拉取的镜像多为Ubuntu系统,使用apt-get install wget安装wget命令,而后在使用wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec 进行下载安装
很明显提示你没有yum、wget等命令,可参考此文章解决查看有无 yum安装包