From 82863aecab824118e223b53fed905ed5fd9182bb Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Tue, 11 Feb 2014 14:58:42 +1000 Subject: [PATCH] add a little info on upgrading Docker-DCO-1.1-Signed-off-by: Sven Dowideit (github: SvenDowideit) --- docs/sources/installation/mac.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/sources/installation/mac.rst b/docs/sources/installation/mac.rst index 4f0550ad3d..5381842432 100644 --- a/docs/sources/installation/mac.rst +++ b/docs/sources/installation/mac.rst @@ -147,6 +147,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: ---------------------------------------