Upgrade the image - stopping the machine if necessary automatically (and then automatically restoring it to running state)

Docker-DCO-1.1-Signed-off-by: Michael Neale michael.neale@gmail.com (github: michaelneale)