瀏覽代碼

Merge pull request #4054 from SvenDowideit/boot2docker-upgrade-doc

add a little info on upgrading b2d
Andy Rothfusz 11 年之前
父節點
當前提交
ff2260099a
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      docs/sources/installation/mac.rst

+ 12 - 0
docs/sources/installation/mac.rst

@@ -162,6 +162,18 @@ If SSH complains about keys:
 
     ssh-keygen -R '[localhost]:2022'
 
+Upgrading to a newer release of boot2docker
+-------------------------------------------
+
+To upgrade an initialised VM, you can use the following 3 commands. Your persistence
+disk will not be changed, so you won't lose your images and containers:
+
+.. code-block:: bash
+
+    ./boot2docker stop
+    ./boot2docker download
+    ./boot2docker start
+
 About the way Docker works on Mac OS X:
 ---------------------------------------