User Guide

  • 04/24/2019
  • Public Content

Create a New Custom Docker Image

This topic explains the three ways to create a custom Docker* image and add it to Intel® System Studio:

Prerequisite

Prepare a working Dockerfile with the custom steps that you want. For example:
FROM ubuntu RUN apt-get update RUN apt-get install -y libjson-c-dev
Platform Support Manager
  1. Launch Intel® System Studio.
  2. From the main toolbar, choose
    Project > Manage installed development platforms
    .
    The Platform Support Manager appears.
  3. Click
    New
    .
  4. The Add Custom Docker Image dialog appears. Enter information as follows:
    • Custom Image Name:
      A short descriptive name (can have spaces)
    • Select Base Image:
      Select
      Ubuntu Linux 16.04 64-bit (GCC) v14
      or a later version, if available
    • Docker ID:
      A valid Docker* ID (all lowercase, no spaces or special characters)
    • Description:
      A long description of the custom Docker image.
    • Dockerfile:
      Click
      Browse
      and select the custom Dockerfile you previously created
  5. Click
    Finish
    .
    The new custom Docker image is now listed on the Platform Support Manager, under
    Custom Linux Platform
    . The
    Status
    column shows
    Not Installed
    .
     
  6. Select the new custom Docker image, and then click
    Start
    .
    The time needed to build the new image varies and there will be periods when the progress bar and status messages in the console remain static. When messages indicating that the build is complete, the
    Status
    column will change to show 
    Installed
    .
  7. Click
    Close
    .
You can now use the custom Docker image in new or existing projects.
New Project
  1. Launch Intel® System Studio.
  2. Choose
    File > New > Project
    to open the New Project wizard.
  3. Create a Hello World sample project. 
  4. At the screen where you select a Docker* container, click the
    New
    button.
    The Add Custom Docker Image dialog appears.
  5. Enter information as follows:
    • Custom Image Name:
      A short descriptive name (can have spaces)
    • Select Base Image:
      Select
      Ubuntu Linux 16.04 64-bit (GCC) v14
      or a later version, if available
    • Docker ID:
      Valid Docker* ID (all lowercase, no spaces or special characters) 
    • Description:
      A long description of the custom Docker image
    • Dockerfile:
      Click
      Browse
      and select the custom Dockerfile you previously created.
  6. Click
    Finish
    .
  7. Select the new custom Docker image, and then click
    Finish
    .
    A new project is created, using the custom Docker image.
Existing Project
  1. Launch Intel® System Studio.
  2. Open an existing project that uses a standard Intel System Studio Docker* image.
  3. Open the
    Project Properties
    and select the
    OS Management
    section.
From the Project Properties, you can either click the New button to create a new custom Docker image or select an existing custom Docker image.
Create a New Custom Docker Image 
  • Click the
    New
    button and fill out the Add Custom Docker Image dialog.
  • Click
    Apply and Close
    .
Select an Existing Custom Docker Image
  • Select
    Custom Linux Platform
    from the Select platform drop-down list.
  • Select the custom Docker image you want to use.
  • Click
    Apply and Close
    .

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804