Docker install in Ubuntu trusty

Trying to install Docker in Ubuntu trusty following instructions here:

Tried first to use repo. That failed with

E: Unable to locate package docker-ce

Next, tried to download .deb file, but I count not find it at

https://download.docker.com/linux/ubuntu/dists/trusty/stable/

Finally tried get-docker.sh script, that failed with:

W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/trusty/InRelease Unable to find expected entry ‘edge/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

How can I do this install? This should not be so hard, so it’s probably me, but I don’t know what I am going wrong.

Turned out I had a 32 bit OS. I installed 64 bit OS and then I was able to install docker.