OPMS Installer Installer can not run docker-compose command
search cancel

OPMS Installer Installer can not run docker-compose command

book

Article ID: 266226

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

I noticed that to set up the On-premise station, now we have to go through the New UI Console Installation process.
Before, there was a download section to download the binary file.
 
 
 
 
 
[root@in-prod-asm opt]# docker-compose --version
Docker Compose version v2.17.2
[root@in-prod-asm opt]#
[root@in-prod-asm opt]# ./asm-installer install -e docker -a -t 2m4v-1t5-577a5dbd

==> Chose locale ...

     es - Espaňol
     fr - Français
     pt - Português
 --> en - English

    Chose locale by key:


==> Initialization

 ✓ Preparing terminal UI
 ✓ Loading configuration
 ✓ Loading cache

==> Running basic sanity checks

 ✓ Checking kernel version
 ✓ Checking minimum versions
 ! Checking docker-compose command
 ! Installer can not run docker-compose command. Installer requires docker-compose 2 version.

[root@in-prod-asm opt]#

Environment

Release : 23.1

Resolution

Follow the below steps in order to install the OPMS station:

1- Completely remove the old or existing docker installation that comes with default Cent OS7. 

2- Add Docker repository
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

3- Install Docker
yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

4- Add Docker to start up
systemctl enable docker.service

5- Start and check Docker status
systemctl start docker
systemctl status docker

6- Check firewall status (must be running)
systemctl status firewalls 

7- Set Locale
localectl set-locale LANG=en_US.UTF-8

 

Additional Information

yum remove -y docker-common

yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin