While rebuilding the container for my discourse forum, I received the following error.
Docker version 0.11.1 not supported, please upgrade to at least 1.6.0
I check the version of my docker installation and it turned out to be 0.11.1
$docker -v
Docker version 0.11.1
I used the following commands to upgrade it to the latest version.
-
Check installed packages in the system
$dpkg -l | grep docker ii lxc-docker 1.9.1 amd64 Linux container runtime rc lxc-docker-0.11.1 0.11.1 amd64 Linux container runtime
-
Install the latest version
$sudo apt-get install lxc-docker
-
Check installed packages
$dpkg -l | grep docker ii lxc-docker 1.9.1 amd64 Linux container runtime rc lxc-docker-0.11.1 0.11.1 amd64 Linux container runtime ii lxc-docker-1.9.1 1.9.1 amd64 Linux container runtime
-
Check docker version
$docker -v Docker version 1.9.1