Unable to run IIB commands on IIB container(Docker image file) through shell script

Hi All,

Can you please guide me as I am beginner about Docker.

The thing is that unable to run IIB or Broker command on IIB container.I am explaining in details below.

I am doing continuous delivery of IIB10 image file through Jenkins for that I have written shell script file
with some commands.some commands are related to Docker that is running successfully but the some commands that are related to IIB that is not running. As I consider root user moved to IIB user after running the IIb10 docker image file after that iib command is not running.

Note:Manually commands are running successfully.Please see the attached screenshot.