· Jul 13, 2019 2m read

Useful Commands in You Day-to-Day Development With Docker Containers

Hi guys!

Was coding today with InterSystems IRIS in a docker container and decided to share with you the commands you may find useful in everyday coding.

# docker-compose build

command to build a container. Remember, it is useful if you have dockerfile in the repo.

if the build is successful call the following to launch it:

# docker-compose up -d

Find IRIS management portal on:


where the port is what you set in docker-compose.yml - 52775 in this case.

Run the following if you want to launch a terminal session inside IRIS container:

# docker-compose iris iris session iris

gfhj gj 



And run the following to shut down the container:

# docker-compose down


Sometimes something doesn't work as expected.

If it fails to build the container try to build with no cache:

docker-compose build --no-cache

If it continues to show errors try to free the docker space:

docker system prune -f

If you build the container and see the following error:

Error: ERROR #5002: ObjectScript error: <PROTECT>STARTUP+26^STU ^SYS("DSONLY","Environment"),/usr/irissys/mgr/

just rebuild the container again with:

docker-compose build --no-cache

To try the commands you are welcome to play with this, this or that repositories. "Git clone" it on your laptop and the commands listed above will work.

Happy coding with InterSystems IRIS and docker!

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