Installing docker can be a pain. The easiest way I have found is the following, which saves you the hassle with GPG keys:
1. Choose the package for your system and architecture from this list:
2. Download it using wget:
3. Install it:
dpkg -i docker-engine_*.deb
And you’re done. The docker daemon is started automatically, so you’re good to go!