After installing docker and docker-compose on:
NAME="Red Hat Enterprise Linux Server" VERSION="7.6 (Maipo)"
sudo docker-compose -version
Error while loading shared libraries: libz.so.1: failed to map segment from shared object: Operation not permitted
It should return:
docker-compose version 1.25.0-rc2, build 661ac20e
Installation from docker-compose is this