Trouble Running Iris using Docker in Widows
When start docker in VSCode:
C:\Git\ESKLP2\ESKLP>docker-compose build --no-cache
ERROR: The Compose file '.\docker-compose.yml' is invalid because:
Unsupported config option for services.iris: 'init'
Why? Please, help
Comments
Can you please post your docker-compose.yml? Or at least part relevant to IRIS
I see no reasons to fail it on Windows. But there are a few points to check:
- init flag was added in version 3.7 and 2.2 of compose file, so, check if you have the correct version, the latest versions are 3.8 and 2.4 respectively
- init flag was needed for earlier versions of IRIS, and not needed anymore since version 2021.1
Also, please upgrade to the lastest container version available that is 2021.1
Thanks
If this is your container from GitHub I had no problem on oct.22, ~22:00 (CEST)
BUT:
- I run all docker just from the Win CMD line
- docker system prune -f to clean away all old junk
- docker-compose build no extra flags
- docker-compose up -d works as expected
- docker-compose logs to verify the startup
.png)