Creating a Cast Iron Docker Image

Before you begin

  • Download the Cast Iron docker tar file from the fix central (passport).
  • Transfer the downloaded Cast Iron docker tar file to the Ubuntu server that has the Docker package.

About this task

Use this task to create a Cast Iron Docker image using the Cast Iron Docker tar file.

Procedure

  1. In the Ubuntu server, extract the tar file using the following command:
    tar –xzf <file name>.tar.gz
  2. Navigate to the extracted folder and locate castiron_docker folder.
  3. Create the docker image by executing the following command:
    docker build --no-cache -t castironv7510/<CI build number> castiron_docker

    For example, docker build --no-cache -t castironv7510/20160302-1536 castiron_docker

Results

You have successfully created a Cast Iron Docker Container.
Note:

On successful creation of the docker image, a message is displayed Successfully built <docker image ID>. You can verify the image by running the command docker images.




Feedback | Notices


Timestamp icon Last updated: Thursday, 2 June 2016


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.VAuserguide.doc/CIDC_creating_cid_image.html