码迷,mamicode.com
首页 > 其他好文 > 详细

docker-compose 一键搭建 Samba

时间:2018-11-08 00:26:09      阅读:668      评论:0      收藏:0      [点我收藏+]

标签:dock   wget   条件   roo   apt   .com   linux   data   pos   

前提条件: ubuntu16.04 

软件:docker-ce docker-compose

下载链接: wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_17.09.0~ce-0~ubuntu_amd64.deb

sudo docker -i dpkg -i docker-ce_17.09.0~ce-0~ubuntu_amd64.deb

root@ubuntu:~/samba# docker -v
Docker version 17.09.0-ce, build afdb6d4

下载链接:

  apt -y install curl  

  sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose  

  sudo chmod +x /usr/local/bin/docker-compose

  root@ubuntu:~/samba# docker-compose --version
  docker-compose version 1.23.1, build b02f1306

docker-compose 一键搭建 Samba

标签:dock   wget   条件   roo   apt   .com   linux   data   pos   

原文地址:https://www.cnblogs.com/MeiCheng/p/9926340.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!