Question
· Jul 10

Error starting IRIS Community docker

Good afternoon,

I'm trying to start an instance of the Community Edition with Docker and I get the following error.

I tried downloading the object-script template directly from OpenExchange, but one of these two things always happens:

1 - It gets stuck starting up forever

[+] Building 147.0s (7/8)                                                                                                                                                                          docker:desktop-linux
 => [iris internal] load build definition from Dockerfile                                                                                                                                                          0.1s
 => => transferring dockerfile: 787B                                                                                                                                                                               0.0s
 => [iris internal] load metadata for docker.io/intersystemsdc/iris-community:latest                                                                                                                               1.1s
 => [iris internal] load .dockerignore                                                                                                                                                                             0.1s
 => => transferring context: 62B                                                                                                                                                                                   0.0s
 => CACHED [iris stage-0 1/4] FROM docker.io/intersystemsdc/iris-community:latest@sha256:9c8422ae510320d23bf9c67f600c0b8bfcd3fc9707f0a0d92e9ef9db5a08bd86                                                          0.0s
 => [iris internal] load build context                                                                                                                                                                             0.1s
 => => transferring context: 19.13kB                                                                                                                                                                               0.1s
 => [iris stage-0 2/4] WORKDIR /home/irisowner/dev                                                                                                                                                                 0.2s
 => [iris stage-0 3/4] COPY .iris_init /home/irisowner/.iris_init                                                                                                                                                  0.0s
 => [iris stage-0 4/4] RUN --mount=type=bind,src=.,dst=.     iris start IRIS &&  iris session IRIS < iris.script &&     ([ 0 -eq 0 ] || iris session iris -U USER "##class(%ZPM.PackageManager).Shell("test obj  145.5s
 => => # Using 'iris.cpf' configuration file                                                                                                                                                                           
 => => # Starting Control Process                                                                                                                                                                                      
 => => # Global buffer setting requires attention.  Auto-selected 25% of total memory.                                                                                                                                 
 => => # Allocated 1536MB shared memory                                                                                                                                                                                
 => => # 978MB global buffers, 97MB routine buffers   

 

Or it returns this error:

Ejecutando tarea: docker compose -f "docker-compose.yml" up -d --build 

[+] Building 1.9s (8/8) FINISHED                                                                                                                                                                   docker:desktop-linux
 => [iris internal] load build definition from Dockerfile                                                                                                                                                          0.0s
 => => transferring dockerfile: 787B                                                                                                                                                                               0.0s
 => [iris internal] load metadata for docker.io/intersystemsdc/iris-community:latest                                                                                                                               0.9s
 => [iris internal] load .dockerignore                                                                                                                                                                             0.0s
 => => transferring context: 62B                                                                                                                                                                                   0.0s
 => [iris stage-0 1/4] FROM docker.io/intersystemsdc/iris-community:latest@sha256:9c8422ae510320d23bf9c67f600c0b8bfcd3fc9707f0a0d92e9ef9db5a08bd86                                                                 0.0s
 => [iris internal] load build context                                                                                                                                                                             0.0s
 => => transferring context: 1.52kB                                                                                                                                                                                0.0s
 => CACHED [iris stage-0 2/4] WORKDIR /home/irisowner/dev                                                                                                                                                          0.0s
 => CACHED [iris stage-0 3/4] COPY .iris_init /home/irisowner/.iris_init                                                                                                                                           0.0s
 => ERROR [iris stage-0 4/4] RUN --mount=type=bind,src=.,dst=.     iris start IRIS &&  iris session IRIS < iris.script &&     ([ 0 -eq 0 ] || iris session iris -U USER "##class(%ZPM.PackageManager).Shell("test  0.9s
------                                                                                                                                                                                                                  
 > [iris stage-0 4/4] RUN --mount=type=bind,src=.,dst=.     iris start IRIS &&  iris session IRIS < iris.script &&     ([ 0 -eq 0 ] || iris session iris -U USER "##class(%ZPM.PackageManager).Shell("test objectscript-template -v -only",1,1)") &&     iris stop IRIS quietly:                                                                                                                                                                
0.209 Using 'iris.cpf' configuration file                                                                                                                                                                               
0.423                                                                                                                                                                                                                   
0.499 Starting Control Process                                                                                                                                                                                          
0.499 Global buffer setting requires attention.  Auto-selected 25% of total memory.
0.499 Allocated 1536MB shared memory
0.499 978MB global buffers, 97MB routine buffers
0.818 This copy of InterSystems IRIS has been licensed for use exclusively by:
0.818 InterSystems IRIS Community
0.818 Copyright (c) 1986-2024 by InterSystems Corporation
0.818 Any other use is a violation of your license agreement
0.820 Starting IRIS
0.820 Unexpected failure: The target process received a termination signal 4.
0.820 Operation aborted.
------
failed to solve: process "/bin/sh -c iris start IRIS && \tiris session IRIS < iris.script &&     ([ $TESTS -eq 0 ] || iris session iris -U $NAMESPACE \"##class(%ZPM.PackageManager).Shell(\\\"test $MODULE -v -only\\\",1,1)\") &&     iris stop IRIS quietly" did not complete successfully: exit code: 1

 *  El proceso del terminal "/bin/zsh '-l', '-c', 'docker compose -f "docker-compose.yml" up -d --build'" finalizó con el código de salida 17. 
 *  Las tareas reutilizarán el terminal, presione cualquier tecla para cerrarlo. 

 

I am using Docker Desktop for macOS version 4.31.0.

The repository I cloned from OpenExchange is this one:

https://github.com/intersystems-community/objectscript-docker-template

https://openexchange.intersystems.com/package/objectscript-docker-template

 

Any idea why it can't start?

Thanks!

Discussion (2)1
Log in or sign up to continue

Hello @Robert Cemper

Thank you for your answer, you were right. 

I have modified my Dockerfile in order to replace this line:

ARG IMAGE=intersystemsdc/iris-community

for this one:

ARG IMAGE=intersystems/iris-ml-community:2023.1.0.235.0

And now works!!

Thank you for your quick response.  👏

P.D.: I think that definitely I have a good excuse to change mi old computer... 😜