Troubleshooting

Refer to the following resources if you encounter an issue with the Concert toolkit container.

Running a shell within the container

You can troubleshoot the container by opening a shell within the container by using the following command:
$ docker run -it --rm \
  -v <HOST-DIR-SRC-CODE>:/data/src \
  -v <HOST-DIR-TOOLKIT-DATA>:/toolkit-data \
  -it
  icr.io/cpopen/ibm-concert-toolkit:v1.0.1 /bin/bash
You can then run commands within the container to troubleshoot any issues you are facing.

Setting environment variables within the container

You can set environment variables by passing the -e argument when using the container run command. For example, the following command sets the environment variable MY_VAR to my-value:
$ docker run -it --rm \
  -v <HOST-DIR-SRC-CODE>:/data/src \
  -v <HOST-DIR-TOOLKIT-DATA>:/toolkit-data \
  -e MY_VAR=my-value \
  icr.io/cpopen/ibm-concert-toolkit:v1.0.1 /bin/bash -c "echo $MY_VAR"
This is useful for setting up environment variables that configure the behavior of the utilities within the container during a command is run.