Senario: Weblogic container consisted of 3 servers on port 7001, 8001 & 9001. On addition of additional server there was a need to expose and additional port 9002. As port 9002 was not exposed the services over the port ver not exposed externally. Below is the image of the current state of the container using docker ps command. We expect to expose the port 9002 without recreating the container. Above image shows the expected port post updates. Solution: 1. list the containers using docker command. docker ps 2. Shut down all the container…