Just've tried now:

docker run --rm --name iris-demo -d -p 29091:1972 -p 29092:52773   intersystemsdc/iris-community:preview

c9ef4f36c293f813e968bd0b2b504f9894220184623ebc3cb415360241a5f98e

$ docker exec -it iris-demo iris session iris


Node: c9ef4f36c293, Instance: IRIS


USER>w $zv

IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2024.1 (Build 244U) Tue Feb 20 2024 17:07:18 EST

USER>

Hi @Stephen Canzano !

Unit tests are not included into the package when you publish it into repository. So when you install the package on a target machine only "solution" classes will be installed, not unit-tests.

E.g. here is csvgen app. I you check the source code it contains "solution" classes in src folder here and unit-tests in /tests folder.

module XML for csvgen has resources, that will be packaged while published in the IPM registry:

<Resource Name="community.PKG"/>

and the unittests, that are being used only development phase and can be imported to the system via load command:

<UnitTest Name="/tests" Package="community.csvgen.UnitTests" Phase="test"/>

So when you install csvgen package, e.g.:

USER>zpm "install csvgen" 

you'll see only RESOURCES classes installed.

Nice! Thank you @Brett Saviano! 

And it works for host versions nicely! But of course if it is a docker image there could be a ports mapping. e.g. if I start iris with the following command:

docker run --rm --name iris-demo -d -p 9091:1972 -p 9092:52773   intersystemsdc/irishealth-community:preview

and open terminal with:

docker exec -it iris-demo iris session iris

then the command gives us:

USER>Do ##class(%Studio.General).GetWebServerPort(,,,.url) Write url,"csp/sys/UtilHome.csp" Kill url

http://172.17.0.2:52773/csp/sys/UtilHome.csp

and the working one is:

http://localhost:19092/csp/sys/UtilHome.csp

Maybe it is not possible at all for docker. 

Unless we setup a special global intentionally during the docker image build.