浏览代码

Merge pull request #1744 from dsissitka/patch-7

Updated "Use -> The Basics" to use ubuntu:12.10.
Andy Rothfusz 12 年之前
父节点
当前提交
2ea19238ff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/use/basics.rst

+ 1 - 1
docs/sources/use/basics.rst

@@ -142,7 +142,7 @@ Expose a service on a TCP port
 .. code-block:: bash
 .. code-block:: bash
 
 
   # Expose port 4444 of this container, and tell netcat to listen on it
   # Expose port 4444 of this container, and tell netcat to listen on it
-  JOB=$(sudo docker run -d -p 4444 ubuntu /bin/nc -l -p 4444)
+  JOB=$(sudo docker run -d -p 4444 ubuntu:12.10 /bin/nc -l -p 4444)
 
 
   # Which public port is NATed to my container?
   # Which public port is NATed to my container?
   PORT=$(sudo docker port $JOB 4444)
   PORT=$(sudo docker port $JOB 4444)