Add an upgrade command and upgrade to docker 0.5.0