docker-machine provides an
upgrade command, however it only upgrades to the latest stable version
I want to install 1.10RC2 on my docker machines and I am uncertain the steps to do this
On the docker releases page it shows this command:
curl -fsSL https://test.docker.com/ | sh
I thought I'd try that out. I ssh'd in via
docker-machine ssh swarm-master and ran it.
It looked promising... running it appears to be an install/upgrade script, it did a bunch of stuff. Afterwards:
root@swarm-master:~# docker version Client: Version: 1.10.0-rc2 API version: 1.22 Go version: go1.5.3 Git commit: c1cdc6e Built: Wed Jan 27 22:14:06 2016 OS/Arch: linux/amd64 Cannot connect to the Docker daemon. Is the docker daemon running on this host?
Seems to have upgraded, but daemon not running.
https://docs.docker.com/engine/articles/systemd/ shows a couple of ways. I tried:
$ sudo systemctl start docker
$ sudo service docker start
In both cases the command returns without output but hasn't seemed to have done anything, the daemon is still not running.
My host is Debian 8.
I can do
docker daemon and it runs in foreground... doing so for the first time it went through and migrated all my images... seems to work fine but
So my question is now - how to properly (as in: same way that docker-machine would do it) run the daemon?