Upgrade docker to newer version in Oracle Linux 7

I wanna use swarm with my docker but it requires minimum docker version of 1.4.0
but as i am working on Oracle Linux 7 the most updated version available on repository is 1.3.3
(http://public-yum.oracle.com/repo/OracleLinux/OL7/addons/)
how to update my docker to the latest version??