美文网首页阿里Pouch富容器
1. 一键式安装阿里Pouch富容器

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

作者: cooling2016 | 来源:发表于2018-06-10 10:01 被阅读31次

    [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
    
    

    相关文章

      网友评论

        本文标题:1. 一键式安装阿里Pouch富容器

        本文链接:https://www.haomeiwen.com/subject/solfeftx.html