I am trying to run docker-compose up -d --build
from Ubuntu (Windows WSL 2). I have enabled the WSL integration as per the steps listed
CodePudding user response:
Posting this as an answer for easier reading.
As mentioned in the comments, the solution appeared to be removing slashes from volumes as suggested by this similar question and answer:
From this:
volumes:
- ./server/:/usr/src/app/
To this:
volumes:
- ./server:/usr/src/app
Snippet from user's related question here.