Docker OS Installation Guide#

The following instructions are for the installation of the operating system which will host the Docker Host.

Prerequisites#

Configuration#

Docker

OS

Red Hat Enterprise Linux 8

Installation Type

Virtual Machine Guest

vCPU

4 (Adjust As Needed)

Memory

16 GB (Adjust As Needed)

Storage

2 TiB (qcow2)

Network Interface

Unique/Bridged IPv4

Hostname

docker

FQDN

docker.engwsc.example.com

OS Installation Steps#

  1. Boot VM using Red Hat Enterprise Linux (RHEL) 8.8 ISO

  2. Select Install Red Hat Enterprise Linux 8.8 and press ENTER

  3. Select your language to use during the installation process and press Continue

Note

You should now see the Installation Summary GUI.

  1. Click on Language Support, set the following:

    * Select your language to be used following installation
    * Click on the "Done" button to return
    
  2. Click on Network & Host Name, set the following:

    * Host Name to: docker
    * Click on the "Configure..." button
    
        1. Under the General tab, Check "Connect automatically with priority"
        2. Under the Ethernet tab, Set Link negotiation to "Automatic"
        3. Under the IPv4 Settings tab,
    
            * Select Method: "Manual"
            * Set IP Address and DNS Servers
    
        4. Under IPv6 Settings tab,
    
            * Select Method "Link-Local Only"
    
        5. Click on the "Save" button
    
    * Turn Ethernet (ens18) "On"
    * Hit the "Apply" button to set the host name
    * Click on the "Done" button to return
    
  3. Click on Time & Date, set the following:

    * Select your timezone
    * Enable "Network Time"
    * Configure NTP servers as needed
    * Click on the "Done" button to return
    
  4. Click on Installation Source, set the following:

    * Click on "Auto-detected installation media"
    * Click on the "Done" button to return
    
  5. Click on Software Selection, set the following:

    * Select Base Environment: "Server"
    
        1. Check: "Guest Agents"
        2. Check: "Network File System Client"
        3. Check: "Security Tools"
        4. Check: "System Tools"
    
    * Click on the "Done" button to return
    
  6. Click on Installation Destination, set the following:

    * Use "Custom" Storage Configuration
    * Click on the "Done" button to continue
    * Configure using below Partition Table
    * Click on the "Done" button to continue
    * Click on the "Accept Changes" button to continue
    

Partition Table

Note

This partition table is based on the requirements of the NIST security profile. It is the recommended layout even if the profile is not enabled to ensure future compatibility with the security profiles.

Partition Name

Size

Device Type

File System

/boot

2 GiB

Standard Partition

xfs

/

32 GiB

LVM

xfs

/tmp

8 GiB

LVM

xfs

/var

32 GiB

LVM

xfs

/var/lib/docker

1800 GiB

LVM

xfs

/var/log

5 GiB

LVM

xfs

/var/log/audit

5 GiB

LVM

xfs

/var/tmp

8 GiB

LVM

xfs

swap

2 GiB

LVM

swap

  1. Click on KDUMP, set the following:

    * Uncheck "Enable kdump"
    * Click on the "Done" button to return
    
  2. Click on Root Password, set the following:

Note

Only a root account will be created.

* Set a strong Root password
* Click on the "Done" button to return
  1. Click on the Begin Installation button to begin

  2. Click on the Reboot System button when installation has completed