Signatures couldn't be verified because the public key is not available error while installing docker
Seems like the getting started page has changed.
Aug 2017
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
Aug 2019
The link to the installation page has changed again
https://docs.docker.com/install/linux/docker-ce/debian
If don't want to use those commands from manual http://docs.docker.com/linux/step_one/:
$ sudo apt-get update
$ sudo apt-get install wget
$ wget -qO- https://get.docker.com/ | sh
there is what you need:
$ wget -qO- https://get.docker.com/gpg | sudo apt-key add -
PS: https://docs.docker.com/installation/debian/
Got the solution, I was trying to install docker 1.5 on a 32-bit Ubuntu, whereas the documentation says it needs 64 bit Ubuntu.
check here in Prerequisites section