多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ### 镜像安装 **** ``` docker pull alpine docker pull swarm  docker pull shipyard/shipyard docker pull rethinkdb docker pull microbox/etcd docker pull ehazlett/curl  docker pull shipyard/docker-proxy ``` ### 下载安装脚本 **** ``` # 下载官方脚本 wget https://shipyard-project.com/deploy # 若下载失败请使用 $ wget https://raw.githubusercontent.com/shipyard/shipyard-project.com/master/site/themes/shipyard/static/deploy $ grep -n shipyard:latest deploy $ sed -i 's/shipyard\/shipyard:latest/dockerclub\/shipyard:latest/g' deploy ``` ### 设置web访问端口(根据需要修改) **** ``` #检查8080端口是否被占用,若占用需修改端口 $ yum install -y net-tools //安装net-tools工具包,若已安装可跳过此步骤 $ netstat -tlnp | grep 8080 //查看宿主机8080端口是否被占用 #配置修改 $ grep -n 'PORT:-8080' deploy SHIPYARD_PORT=${PORT:-8080} 修改为 SHIPYARD_PORT=${PORT:-指定端口} ``` ### 安装与删除 **** ``` $ sh deploy //安装 $ cat deploy | ACTION=remove bash //删除 ``` ### 使用shipyard **** ``` 浏览器输入:http://主机IP:8080 默认账号:admin 默认密码:shipyard ```