It seems the docker-compose installation is broken on the app servers. I tried multiple ways by following docker official documentation but it failed because of a python error.
I tried that as well but was getting the error that I have attached in the last screenshot. It was related to gcc. Also I have applied for the review, you can check the complete commands that I tried. @mihsan