Pregunta
· 10 jul, 2024

Error iniciar Docker IRIS Community

Buenas tardes,

Estoy intentando arrancar una instancia de la Community Edition con Docker y me da el siguiente error. 

He probado a descargar directamente el template de object-script del OpenExchange, pero me pasa siempre una de estas dos cosas:

 

1 - Se queda iniciando eternamente

[+] 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   

 

O me devuelve este 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. 

 

Estoy usando Docker Desktop para MacOS versión 4.31.0.

El repositorio que me he clonado del OpenExchange es este:

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

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

 

¿Alguna idea de porque no puede arrancar?

Gracias!

Comentarios (2)2
Inicie sesión o regístrese para continuar

Buenas tardes Luis Angel, 

Efectivamente me encontraba en la misma situación que Robert. 

Por lo visto mi procesador no es compatible con la versión Docker de IRIS 2024, he modificado mi Dockerfile para que use una versión 2023 y vuelve a funcionar correctamente.

Por si alguien está en la misma situación he cambiado esta línea:

ARG IMAGE=intersystemsdc/iris-community

Por esta otra:

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

Muchas gracias!