Get Started with the Intel® oneAPI Base Toolkit for Linux*
Compile and run the containers directly.
The below enables the GPU, if available, using --device=/dev/dri (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"
docker run -e http_proxy="$http_proxy" -e https_proxy="$https_proxy" -it "$image"
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"