因为用到的docker镜像中不包含maven,所以要在宿主机中安装,通过文件挂载的方式提供调用 (1)切换到要安装的文件夹 cd /opt/software (2)下载maven包 wget http://mirr