1. 一键式安装阿里Pouch富容器

[ubuntu server 16.04]

shell安装脚本如下所示:

#!/bin/bash

cd /opt

wget http://mirrors.aliyun.com/opsx/pouch/linux/debian/opsx%40service.alibaba.com.gpg.key
apt-key add [email protected]

touch /etc/apt/sources.list.d/pouch.list 


echo "## pouch - Pouch is an open-source project created by Alibaba Group
## to promote the container technology movement.
deb http://mirrors.aliyun.com/opsx/pouch/linux/debian/ pouch stable
#deb http://mirrors.aliyun.com/opsx/pouch/linux/debian/ pouch test" >> /etc/apt/sources.list.d/pouch.list 


apt autoremove -y  && apt-get update && apt-get install -y pouch

service pouch start

sysv-rc-conf pouch on

你可能感兴趣的:(1. 一键式安装阿里Pouch富容器)