Recently I found out about Docker. If your really want to learn more, their website is absolutely a good place to start. Especially their learn more section should get you started. As quoted from their website Docker is an open-source engine that automates the deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere. In this post we’re going to install Docker on the Oracle Enterprise Linux 6.5 (64 bit) release. Docker is not available in the standard installation of OEL, so we need to add the EPEL (Extra Packages for Enterprise Linux) repository to our installation.
Oracle Enterprise Linux can be downloaded from Oracle’s Edelivery. To get access you need to create an account. It’s also possible to use CentOS instead. Make sure you download the latest version (currently 6.5) and that it’s the 64-bit version.
Since I’m a big fan of VirtualBox, I did the installation of OEL on a virtual Machine. The Virtual Machine has the following specs:
– 8192 MB memory
– 1 CPU
– 1 disk of 50 GB
– 2 network interfaces. One is bridged and the other one is a host only connection. Since we’re gone need a connection to the internet a bridged one is the easiest way.
To get an idea, this is the kickstart file I’ve used (I know I could have had less packages, but this was the easiest installation):
# Kickstart file automatically generated by anaconda.
network --onboot yes --device eth0 --bootproto dhcp --noipv6
network --onboot yes --device eth1 --bootproto dhcp --noipv6
rootpw --iscrypted $6$PnDixdlCEvurQEVC$tQlue4VPnu24zCwjMgqW8eQxfnDnxTOeFnCfmeEYyKU4EqBdyLmpY4s2ibcG/jRKveaWBKwgkPgfY42w/rMsA.
authconfig --enableshadow --passalgo=sha512
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=sda
part /boot --fstype=ext4 --size=500
part pv.008002 --grow --size=1
volgroup vg_system --pesize=4096 pv.008002
logvol / --fstype=ext4 --name=lv_root --vgname=vg_system --size=45576
logvol swap --name=lv_swap --vgname=vg_system --size=5120
1. After an installation of OEL it’s always a good idea to update to the latest version. As a default the Oracle public repository is already available (as long as your system is connected to the internet). Run a yum update to make sure the all packages have the latest version installed: