系统版本: CentOS Linux release 7.2.1511 (Core)
step 1: 更新系统
yum update -y
step 2: 安装docker-compose
yum -y install epel-release #pip安装包在epel源中
yum -y install python-pip
pip install -U docker-compose
step 3: 安装git客户端
yum install -y git
step 4:复制Portus安装程序
git clone https://github.com/SUSE/Portus.git
step 5:配置Docker安装源
|
|
step 6:安装docker引擎并启动
|
|
step 7:安装Portus
|
|
step 8:打开防火墙端口
|
|
step 9:Portus初始化配置
在浏览器中打开创建默认管理员用户
连接到本docker仓库(也可以是其他仓库,必须是registry 2.0以上版本)(不要选择SSL,创建失败会提示 remote check disable 就可以)
step 10:在docker client上传镜像到docker registry
|
|
step 11.检查Portus界面的镜像信息
step 12.重启Portus应用
|
|
select extract(year from date ‘2016-11-1’) year,
extract(month from date ‘2016-11-1’) month,
extract(day from date ‘2016-11-1’) day
from dual;
SYSDATE DATE1 DATE_YEAR DATE_MONTH DATE_NUM
2016-11-02 01:22:24 2016-11-02 01:22:24 twenty sixteen-11-02 01:22:24 16-november -02 01:22:24 16-11-02 WED 01:22:24
SYSDATE DATE1 DATE_YEAR DATE_MONTH DATE_NUM DATE_FM
2016-11-02 01:27:05 2016-11-02 01:27:05 twenty sixteen-11-02 01:27:05 16-november -02 01:27:05 16-11-02 WED 01:27:05 16-11-2 WED 1:27:5