By using the commands below, I was able to install Docker on CentOS 7.
curl -sSL https://get.docker.com/ | sh
systemctl enable docker && systemctl start docker
docker run hello-world
My helloworld runs properly with no problems.
However, on CentOS only, when I try to launch docker-compose (docker-compose.yml exists and is valid), I get an error (Windows version works fine for the docker-compose file)
/usr/local/bin/docker-compose: line 1: {error:Not Found}: command not found