I've followed the tutorial section "using-docker-compose" on Ubuntu 20.04.6 LTS on WSL.
When I run the below commands, the app container does not appear in the running container list; it just showed up being terminated as seen from the output of docker ps -a.
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 0.03s.
yarn run v1.22.19
error Couldn't find a package.json file in "/app"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I've followed the tutorial section "using-docker-compose" on
Ubuntu 20.04.6 LTS on WSL
.When I run the below commands, the app container does not appear in the running container list; it just showed up being terminated as seen from the output of
docker ps -a
.The execution log of
todo-app
isIs there any solution?