Run the docker image in interactive mode and open one more command prompt to run below lines. Go to /app/clidriver/adm path and follow below steps.
./db2trc on -f db2trc.dmp
dotnet <application.dll> (Run the Application and create problem statement)
./db2trc flow db2trc.dmp db2trc.flw
./db2trc fmt db2trc.dmp db2trc.fmt
./db2trc fmt -c db2trc.dmp db2trc.fmtc
Note: Here app is working directory in docker.
Create shell (Trace.sh) file, copy to docker file location and use ‘read ’statement in that shell file. Call this shell file in the docker file and follow as below.
RUN dos2unix ./Trace.sh
ENTRYPOINT ["CMD", "./Trace.sh "]