Installing Docker

This section provides information on installing Docker.

Before you begin

To install Sametime Meetings, you must have:
  • HCL Sametime Community 11.6
  • HCL Sametime Proxy 11.6
  • Connection available to MongoDB

About this task

All commands provided require running as ROOT or SUDO access. If not running as root user, preface all commands with ‘sudo'.

To deploy docker:

Procedure

  1. Before installing Docker Compose, make sure Docker Engine is installed either locally or remote, depending on the environment. On Linux systems, install the Docker Engine for your OS provided in Install Docker Engine documentation.

    Provided is an example of following the install Docker Engine documentation on CentOS.

    Note: CentOS ships with Docker installed, but not the most recent which is required. Install Docker version 9.03.13 or higher.
    1. Uninstall old versions using the yum remove command provided in the Docker Engine documentation.


    2. Install Docker Engine using a repository. First install the yum-utils package which provides the yum-config-manager utility. Then set up the stable repository.
      $ sudo yum install -y yum-utils 
      $ sudo yum-config-manager \ 
          --add-repo \ 
      https://download.docker.com/linux/centos/docker-ce.repo


    3. Install the latest version of Docker Engine and container.
      $ yum install docker-ce docker-ce-cli containerd.io 




      At this point, Docker is installed but may not be started.

    4. Start Docker.
      $ systemctl start docker 
    5. Verify that Docker Engine is installed correctly by running the hello-world image.
      $ docker run hello-world 


    Note: If you right click links like Install Docker Compose and choose Open link in Tab you can complete these tasks and then close that tab to start the next step more easily.
  2. Install Docker Compose following steps and commands provided in Install Docker Compose documentation.
    Note: Docker Compose 1.29 or higher is required.
    Provided is an example of following the install Docker Compose documentation on CentOS.
    1. Install Compose on Linux systems.
      $ curl -L "https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 
      


    2. Apply executable permissions to the binary.
      $ chmod +x /usr/local/bin/docker-compose 
    3. Test the installation.
      $ docker-compose --version 


  3. Once install is complete, use the following Linux shell command to confirm that Docker is running, which will return the docker information.
    > docker info


    If Docker is not running, the info command will error with cannot connect.



    To start the Docker service:

    $ service docker start