Installing Cloudbreak on AWS
Also available as:
PDF

Docker

Perform these steps to install Docker.

The minimum Docker version is 1.13.1. If you are using an older image that comes with an older Docker version, upgrade Docker to 1.13.1 or newer.

Steps

  1. Install Docker service:

    CentOS 7

    yum install -y docker
    systemctl start docker
    systemctl enable docker

    RHEL 7

    yum install yum-utils
    yum-config-manager --enable rhui-REGION-rhel-server-extras
    yum install -y docker
    systemctl start docker
    systemctl enable docker
  2. Check the Docker Logging Driver configuration:
    docker info | grep "Logging Driver"
  3. If it is set to Logging Driver: journald, you must set it to “json-file” instead. To do that:
    1. Open the docker file for editing:
      vi /etc/sysconfig/docker
    2. Edit the following part of the file so that it looks like below (showing log-driver=json-file):
      # Modify these options if you want to change the way the docker daemon runs
      OPTIONS='--selinux-enabled --log-driver=json-file --signature-verification=false'
    3. Restart Docker:
      systemctl restart docker
      systemctl status docker