Get Started

  • 0.09
  • 09/09/2020
  • Public Content

Using Containers with the Command Line

Compile and run the containers directly.
The below enables the GPU, if available, using
(may not be available in Linux* VM or Windows*). The command will leave you at a command prompt, inside the container, in interactive mode.
image=intel/oneapi-basekit # --device=/dev/dri enables the gpu (if available). May not be available in Linux VM or Windows docker run --device=/dev/dri -it "$image"  
Once in the container, you can interact with it using Run a Sample Project Using the Command Line.
You may need to include proxy settings before
-it "$image"
if you are behind a proxy:
docker run -e http_proxy="$http_proxy" -e https_proxy="$https_proxy" -it "$image"

Using Intel
Advisor, Intel
Inspector or Intel
Profiler with Containers

When using these tools, extra capabilities have to be provided to the container with these options:
--cap-add=SYS_ADMIN --cap-add=SYS_PTRACE
docker run --cap-add=SYS_ADMIN --cap-add=SYS_PTRACE \ --device=/dev/dri -it "$image"

Product and Performance Information


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