How to install docker compose?

Currently, I am using CentOS 7.
When I checked in CentOS Terminal it’s showing the port is open to the public.