I’m getting the following error when running docker compose up -d
:
$ docker compose up -d
Emulate Docker CLI using podman. Create /etc/containers/nodocker to
quiet msg.
Error: looking up compose provider failed
7 errors occurred:
* exec: "docker-compose": executable file not found in $PATH
* exec: "/root/.docker/cli-plugins/docker-compose": stat /root/.docker/cli-plugins/docker-compose: no such file or directory
* exec: "/usr/local/lib/docker/cli-plugins/docker-compose": stat /usr/local/lib/docker/cli-plugins/docker-compose: no such file or directory
* exec: "/usr/local/libexec/docker/cli-plugins/docker-compose": stat /usr/local/libexec/docker/cli-plugins/docker-compose: no such file or directory
* exec: "/usr/lib/docker/cli-plugins/docker-compose": stat /usr/lib/docker/cli-plugins/docker-compose: no such file or directory
* exec: "/usr/libexec/docker/cli-plugins/docker-compose": stat /usr/libexec/docker/cli-plugins/docker-compose: no such file or directory
* exec: "podman-compose": executable file not found in $PATH
$
How do I fix/avoid this error?
Some background, I’m using vagrant and this is the full script I’m running:
sudo -i
git clone https://github.com/devopshydclub/emartapp.git
cd emartapp
yum install docker -yum
docker compose up -d
I can add the docker compose file if relevant, but it’s unchanged from that public repo. I have tried to install docker compose but it also give me this message
$ yum install docker compose
Last metadata expiration check: 1:00:41 ago on Mon 15 Jul 2024 04:08:25 PM UTC.
Package podman-docker-2:5.1.1-1.el9.noarch is already installed.
No match for argument: compose
How do I install the docker-compose
executable?
New contributor
Elizar Dela Isla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1