Question
Aleksandr Kalinin · Oct 21, 2021

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

Product version: IRIS 2019.1
$ZV: IRIS for Windows (x86-64) 2019.1.1 (Build 612U) Mon Oct 28 2019 11:29:24 EDT
0
0 159
Discussion (4)2
Log in or sign up to continue

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