0

I've installed docker and docker compose v2 on wsl. Using docker --version, docker compose version, docker-compose --version I get:

Docker version 20.10.12, build 20.10.12-0ubuntu4
Docker Compose version v2.14.2
docker-compose version 1.29.2, build unknown

But when I run docker compose up I got the following error:

docker: 'compose' is not a docker command.
See 'docker --help'

Why am I getting this error?

The tree view from my dir:

.
├── Dockerfile
├── README.md
├── data
├── docker-compose.yml
2
  • 1
    What's different from where you ran docker compose version vs docker compose up? Commented Dec 26, 2022 at 13:07
  • Nothing, I run in the same CLI docker compose up and docker compose version. Commented Dec 26, 2022 at 13:22

1 Answer 1

1

try using docker-compose up instead

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.