Docker Ready Environment

From Genesys Documentation
Jump to: navigation, search
This topic is part of the manual GDL Deployment Guide for version 9.0 of Genesys Data Layer.

Docker Setup Instructions

Install Docker for CentOS

  1. Follow the instructions for installing Docker in CentOS as given here.
  2. Login as super user in CentOS using sudo su command.
  3. Type the following command to install required packages.
    1. sudo yum install -y yum-utils \
      device-mapper-persistent-data \
  4. Type the following command to download the Docker setup file.
    1. sudo yum-config-manager \
      --add-repo \
  5. Type the following command to install the Docker software.
    1. sudo yum install docker-ce
  6. Type the following commands to enable Docker softare.
    1. sudo su (Enable as a super user)
    2. systemctl enable docker
  7. Type the following command to start the Docker software after successful installation.
    1. sudo systemctl start docker

Install Docker Compose

Docker Compose enables a quick way of installing pre-configured Kakfa layers, and follow the commands to install Docker compose.

  1. Install Docker Compose by typing the following command
    1. sudo curl -L$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
  2. Execute these commands in root directory. (Access root directory using command cd /)
    1. sudo chmod +x /usr/local/bin/docker-compose
    2. Execute the following command under /usr/bin of root folder sudo ln -s /usr/local/bin/docker-compose docker-compose

This Docker environment is ready for GDL deployment at the end of this step.