These instructions are for upgrading your Docker binary for when you had a custom (non package manager) installation. If you istalled docker using apt-get, use that to upgrade.
Get the latest docker binary:
wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
Unpack it to your current dir
tar -xf docker-master.tgz
Stop your current daemon. How you stop your daemon depends on how you started it.
sudo docker -d
), you can just kill the process: killall docker
Start docker in daemon mode (-d) and disconnect (&) starting ./docker will start the version in your current dir rather than the one in your PATH.
Now start the daemon
sudo ./docker -d &
Alternatively you can replace the docker binary in /usr/local/bin