Docker has become widely popular in the last couple of years. I use it on a regular basis these days for running Oracle databases on my laptop. Docker is available on all popular Linux distributions, as well as Mac and Windows, and of course Oracle Linux is no exception. Since a long time Docker ships with the Oracle Linux 7 addons yum repository. Having setup Docker on Oracle Linux numerous times, I thought it would be good for me to document my steps for others to follow.
tl;dr
- Update Oracle Linux and UEK to the latest version (OL 7 and UEK5):
yum upgrade
- Install yum-config-manager, if not already installed:
yum install yum-utils
- Enable the addons yum repo:
yum-config-manager --enable *addons
- Install docker-engine:
yum install docker-engine