zoukankan      html  css  js  c++  java
  • docker-compose的最简单安装方式

    安装docker-compose

    $ curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose
    $ chmod +x /usr/local/bin/docker-compose
    $ docker-compose --version
    [root@localhost ~]# curl -L https://github.com/docker/compose/releases/download/1.8.0/run.sh > /usr/local/bin/docker-compose
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   596  100   596    0     0    593      0  0:00:01  0:00:01 --:--:--   593
    100  1400  100  1400    0     0    551      0  0:00:02  0:00:02 --:--:--  1348
    [root@localhost ~]# chmod +x /usr/local/bin/docker-compose
    [root@localhost ~]# docker-compose --version
    Unable to find image 'docker/compose:1.8.0' locally
    Trying to pull repository docker.io/docker/compose ... 
    1.8.0: Pulling from docker.io/docker/compose
    e110a4a17941: Pull complete 
    92120570534d: Pull complete 
    47d26c525b40: Pull complete 
    40a1d6f501ac: Pull complete 
    643031e197d8: Pull complete 
    0841ec069338: Pull complete 
    Digest: sha256:9bb1d2f141b4511b52dac37e5ea0aecadaf7786bc47184c133c566a4f678061d
    Status: Downloaded newer image for docker.io/docker/compose:1.8.0
    docker-compose version 1.8.0, build f3628c7
    [root@localhost ~]# 
    
    
    
    
    
  • 相关阅读:
    Container(容器)
    version ctrl
    url和uri的区别
    Injector
    build tool
    变量
    python中break和continue的区别
    同步代码块以及同步方法之间的区别以及联系
    写在前面
    WebService入门
  • 原文地址:https://www.cnblogs.com/kaishirenshi/p/12559483.html
Copyright © 2011-2022 走看看