Running the docker-compose command fails with a stack trace and a message
When you run the docker-compose command, it fails with a stack trace and a message.
Symptom
When you run the docker-compose command, it fails with a stack trace and the
following message is
displayed:
ImportError: libssl.so.1.1: cannot open shared object file: No such file or directory
Solution
The libraries for the OpenSSL version that the
docker-compose
command requires
are typically installed in /usr/local. As root, run the following commands on
the affected
system:find /usr/local -name libssl.so.1.1 # This should return '/usr/local/lib64'
echo "/usr/local/lib64" > /etc/ld.so.conf.d/openssl.conf
ldconfig