Receives error after trying to run a command
- This is in vagrant vm – run vagrant up → vagrant ssh → sudo -i
- Downloaded the git clone https://github.com/devopshydclub/emartapp.git
- Changed directory to emartapp
- Installed Docker: yum install docker -yum
- Run docker compose up -d
Receives Error Below:
[vagrant@localhost ~]$ ls
[vagrant@localhost ~]$ ls
[vagrant@localhost ~]$ sudo -i
[root@localhost ~]# ls
anaconda-ks.cfg emartapp original-ks.cfg
[root@localhost ~]# cd emartapp/
[root@localhost emartapp]# ls
client Dockerfile Jenkinsfile nginx package-
lock.json
docker-compose.yaml javaapi kkartchart nodeapi README.md
[root@localhost emartapp]# docker ps -a
Emulate Docker CLI using podman. Create /etc/containers/nodocker to
quiet msg.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
[root@localhost emartapp]# 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
[root@localhost emartapp]#
Please help for me to forward to the next step of our exercise
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.
4