U-Alberta / ADaPT-ML

MIT License
6 stars 2 forks source link

Running testing.md not setting up dockerfile version unsupported #7

Closed wincowgerDEV closed 2 years ago

wincowgerDEV commented 2 years ago

When I follow the instructions at the testing.md file for a Windows machine I downloaded the repo to a folder called "ADaPT-ML-main" and ran docker compose but it gives me the error below.

D:\ADaPT-ML-main>docker-compose ps ERROR: Version in ".\docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

wincowgerDEV commented 2 years ago

Looks like my docker version 18.03 is too old for the 3.8 docker-compose file https://docs.docker.com/compose/compose-file/

wincowgerDEV commented 2 years ago

I reinstalled docker desktop here to get the code working. https://docs.docker.com/desktop/windows/install/

wincowgerDEV commented 2 years ago

I reinstalled docker desktop here to get the code working. https://docs.docker.com/desktop/windows/install/

Could be good to add a mention of version issues for new docker users and suggest they reinstall if they are having trouble.

wincowgerDEV commented 2 years ago

New issue on this same thread, the docker image failed to load completely because it ran out of memory: I got this error, failed to register layer: Error processing tar file(exit status 1),

looks like it has to do with the virtual machine setup on the windows device https://github.com/moby/moby/issues/32811

Current system I am on: image

wincowgerDEV commented 2 years ago

Also worth testing out configuring wsl https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig

wincowgerDEV commented 2 years ago

the id which is causing the issue is 54b7020a1dca it's about 5GB in size.

wincowgerDEV commented 2 years ago

Closing this issue and will reopen any issues I have once I can try with the updated recommended list of dependencies, which I don't currently have running on my device.