Creating a Cast Iron Container using the Docker Image
Before you begin
Make sure you have a proper Cast Iron Docker image created and available for deployment.
About this task
Use this task to create a new Cast Iron container from a docker image.
Note: You can create and use only one Cast Iron container per single docker host as the container
uses the docker host's network resources.
Procedure
In the Ubuntu server (version 14.04), where you have your docker image, execute the following
command:
docker run --net=host --pid=host -t -i -d <cast iron docker image ID>
For example, docker run --net=host --pid=host -t -i -d castironv7510/20160302-1535, where castironv7510/20160302-1535 is the Cast Iron docker image ID.
Results
Note:
You can validate the Cast Iron Installation and configuration using the following command until you get the Cast Iron component Status.
docker logs –f <CI Container ID>
For example,
Cast Iron Component Status
--------------------------
DerbyServer : Up
WMC : Up
Maestro : Up
Gateway : Up
Also use Docker Host machine’s ETH0 IP address to open Cast Iron Web Management Console and ensure it is accessible.