From 98e099bcfaa1228b3a5da2f87c1c359c203f229d Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Fri, 18 Aug 2017 10:35:30 +0100
Subject: [PATCH] Added note about upgrading docker-ce

---
 README.md | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/README.md b/README.md
index 638bbd3..db01bbf 100644
--- a/README.md
+++ b/README.md
@@ -24,6 +24,24 @@ export SERVERNAME="community.coops.tech"
 ansible-playbook -u root discourse_upgrade.yml -i "${SERVERNAME}," -e "hostname=${SERVERNAME}"
 ```
 
+## Docker Upgrade
+
+Every 3 months there is a new version of `docker-ce` released, the steps to upgrade (this could potentially be written as a Ansible Playbook:
+
+```bash
+sudo -i
+su - discourse
+cd /var/discourse
+./launcher app stop
+exit
+apt-get update
+apt-get upgrade
+service docker status # check the uptime and that it is running
+su - discourse
+cd /var/discourse
+./launcher app start
+```
+ 
 ## Discourse Install
 
 Ansible Playbooks to install
-- 
GitLab