Why is Docker installed but not Docker Compose

0 votes

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
Apr 21, 2022 in Docker by pranav
• 2,590 points
1,478 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Docker

0 votes
2 answers

Why is docker image eating up my disk space that is not used by docker

Move the /var/llib/docker directory. Assuming the /root directory has enough ...READ MORE

answered Aug 6, 2018 in Docker by Nilesh
• 7,060 points
1,773 views
0 votes
1 answer
0 votes
1 answer

Docker ports are working on the localhost but not with public ip

Probably, the reason is that you've included ...READ MORE

answered Jun 12, 2018 in Docker by Damon Salvatore
• 5,980 points

edited Oct 15, 2018 by Kalgi 4,185 views
+1 vote
4 answers

COPY is not working in Docker

I had the exact same issue. I ...READ MORE

answered May 6, 2019 in Docker by Emilia
22,348 views
0 votes
1 answer

Why is my docker installation failing?

First off check if virtualbox is running; ...READ MORE

answered Jul 31, 2018 in Docker by Sophie may
• 10,620 points
564 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,714 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP