Skip to main content

Privacera Documentation

Table of Contents

Install Docker and Docker compose (AWS-Linux-RHEL) on Privacera Platform

  1. Log on to your Privacera host as ec2-user or a user with 'sudo' privileges.

  2. Install Docker:

    1. Use 'yum' to obtain Docker.

    2. Reconfigure limits.

    3. Start Docker service.

    4. Add your root user (ex. 'ec2-user') to the docker group.

    5. Exit.

  3. From the command prompt execute the following:

    sudo yum install -y docker
    sudo sed -i 's/1024:4096/1024000:1024000/g' /etc/sysconfig/docker
    sudo cat /etc/sysconfig/docker
    sudo service docker start
    sudo usermod -a -G docker ec2-user
  4. Log back into the same user account as in step 1. This forces the usermod action.

  5. Install Docker-Compose:

    1. Set the requested Docker Compose version.

    2. Download docker-compose.

    3. Set access to eXecutable:

      sudo curl -L${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
      sudo chmod +x /usr/local/bin/docker-compose