[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 opsx@service.alibaba.com.gpg.key
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
网友评论