content_image/978618.jpg content_image/978616.jpg content_image/978617.jpg
1. Return to the Jenkins dashboard and kick-off a new build for the BaseMQPipeline as shown in Figure 9-62. 

<img src='content_image/978618.jpg'>

2. After the build has completed, the Last Success  time should have been updated. See Figure 9-63. 

<img src='content_image/978616.jpg'>

3. The latest created container image will now be started, run the following command from a new terminal to start the queue manager: 

docker run --env LICENSE=accept --env MQ_DEV=false --env MQ_QMGR_NAME=QM1 --publish 1414:1414 --publish 9443:9443 --detach app1-mq:latest 

Refer to the IBM MQ container documentation here: https://github.com/ibm-messaging/mq-container/blob/master/docs/usage.md  for the documentation on the parameters. 

4. The preceding command will start the container. To view the running containers, run the following command as shown in Figure 9-64. 

docker ps 

<img src='content_image/978617.jpg'>

5. To verify the behavior of the container a message will be sent and received. An easy mechanism to accomplish this is to use sample IBM MQ utilities shipped with the product. Therefore, exec into the container image by using the Container ID from your output as follows: 

docker exec -it < CONTAINER_ID > /bin/bash 

