美文网首页
Ubuntu14.04.3安装、配置docker

Ubuntu14.04.3安装、配置docker

作者: custa | 来源:发表于2015-03-05 14:13 被阅读134次

1. 安装docker

curl -sSL https://get.docker.com/ | sh

2. 配置代理 -- /etc/default/docker

export http_proxy="http://<USER>:<PASSWD>@<IP>:<PORT>"
export https_proxy="https://<USER>:<PASSWD>@<IP>:<PORT>"

3. 重启docker

restart docker

4. 安装其它

4.1 网桥配置工具brctrl
apt-get install bridge-utils
4.2 compose ( https://github.com/docker/compose/releases/tag/1.1.0 )
sudo bash -c 'curl -L https://github.com/docker/compose/releases/download/1.1.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose'
sudo chmod +x /usr/local/bin/docker-compose

相关文章

网友评论

      本文标题:Ubuntu14.04.3安装、配置docker

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