标签:http os io strong ar for sp html on
14.04安装docker方法一:
$ sudo apt-get update $ sudo apt-get install docker.io $ sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker $ sudo sed -i ‘$acomplete -F _docker docker‘ /etc/bash_completion.d/docker.io $ sudo apt-get install apt-transport-https $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 $ sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"$ sudo apt-get update $ sudo apt-get install lxc-docker
14.04安装docker方法二:
$ curl -sSL https://get.docker.io/ubuntu/ | sudo sh #查看index.htmlkkk@bogon:~$ sudo apt-get install vim Reading package lists... Done Building dependency tree Reading state information... Done vim is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 32 not upgraded. kkk@bogon:~$ vi ./index.html # Check that HTTPS transport is available to APT if [ ! -e /usr/lib/apt/methods/https ]; then apt-get update apt-get install -y apt-transport-https fi # Add the repository to your APT sources echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.lis t # Then import the repository key apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F96 6E92D8576A8BA88D21E9 # Install docker apt-get update apt-get install -y lxc-docker # # Alternatively, just use the curl-able install.sh script provided at https://get.dock er.io # ~ "./index.html" 19L, 584C 1,1 All # Check that HTTPS transport is available to APT if [ ! -e /usr/lib/apt/methods/https ]; then apt-get update apt-get install -y apt-transport-https fi # Add the repository to your APT sources echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.lis t # Then import the repository key apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F96 6E92D8576A8BA88D21E9 # Install docker apt-get update apt-get install -y lxc-docker # # Alternatively, just use the curl-able install.sh script provided at https://get.dock er.io # ~
标签:http os io strong ar for sp html on
原文地址:http://my.oschina.net/jk409/blog/309396