Just for the record:
Same here:
curl -fsSL https://yum.dockerproject.org/gpg | sudo apt-key add -
gave
gpg: no valid OpenPGP data found.
Done it seprately with wget with success:
wget https://yum.dockerproject.org/gpg
sudo apt-key add gpg
OK