Essentially I’m trying to work out if I need to update to Ubuntu 16 to run the latest stable build of Discourse now? A good topic for doing that looks like this one:
This looks like it is due to the latest docker-ce version for 14.04 being below what is required to run the latest Discourse stable image. Not sure, so any help appreciated.
Ok, all good. Here’s what I did incase it helps others who had an older docker.
wget -qO- https://get.docker.com/ | sh
This will update docker, or rather do the commands of adding the key and repository to the latest binaries for your system. Note: it will try to scare you with this:
Warning: the "docker" command appears to already exist on this system.
As I already had a snapshot, I went for it and it seems ok. I rerun the update for Discourse like this:
./launcher rebuild app
After that I was lower on disk apparently (after all those dist and apt updates I guess):
Status: Downloaded newer image for discourse/base:2.0.20171008
You have less than 5GB of free space on the disk where /var/lib/docker is located. You will need more space to continue
I cleared up some space with this:
apt-get autoremove
After that (it’ll take a while) then a launcher rebuild app completed and we’ll all good.
This is a bit of a noob question, but what what do you type in after getting this message?
# Executing docker install script, commit: 490beaa
Warning: the "docker" command appears to already exist on this system.
If you already have Docker installed, this script can cause trouble, which is
why we're displaying this warning and provide the opportunity to cancel the
installation.
If you installed the current Docker package using this script and are using it
again to update Docker, you can safely ignore this message.
You may press Ctrl+C now to abort this script.
+ sleep 20
+ sh -c apt-get update -qq >/dev/null
Just copy/paste the “sh -c apt-get update -qq >/dev/null” part?
I could be mistaken, but you shouldn’t have to type anything. It looks like it will sleep for 20 seconds, then run the apt-get command. The script is simply giving you time to stop it from proceeding.