浏览代码

Fix Ubuntu install doc

Solomon Hykes 12 年之前
父节点
当前提交
1201c418cd
共有 1 个文件被更改,包括 14 次插入13 次删除
  1. 14 13
      docs/sources/installation/ubuntulinux.rst

+ 14 - 13
docs/sources/installation/ubuntulinux.rst

@@ -19,37 +19,38 @@ Install dependencies:
 
 ::
 
-    sudo apt-get install lxc wget bsdtar curl
+    sudo apt-get install lxc bsdtar
     sudo apt-get install linux-image-extra-`uname -r`
 
 The linux-image-extra package is needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
 
-Install the latest docker binary:
+Install the docker binary
+-------------------------
 
 ::
 
-    wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
+    wget http://get.docker.io/builds/Linux/x86_64/docker-master.tgz
     tar -xf docker-master.tgz
+    sudo cp ./docker-master /usr/local/bin
 
-Run your first container!
+Note: docker currently only supports 64-bit Linux hosts.
 
-::
 
-    cd docker-master
+Run the docker daemon
+---------------------
 
 ::
 
-    sudo ./docker run -i -t base /bin/bash
+    sudo docker -d &
 
-
-To run docker as a daemon, in the background, and allow non-root users to run ``docker`` start
-docker -d
+Run your first container!
+-------------------------
 
 ::
-
-    sudo ./docker -d &
+    docker run -i -t ubuntu /bin/bash
 
 
-Consider adding docker to your PATH for simplicity.
+Check out more examples
+-----------------------
 
 Continue with the :ref:`hello_world` example.