You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upstream nvidia/cuda images use a script in their Docker image ENTRYPOINT that prints a banner before executing any command.
This banner is printed to stdout. This is annoying when running a command via a temporary container where the stdout is important (e.g. is expected to be structured output such as XML).
Steps to reproduce
$ docker run --rm aswf/ci-base:2024.1 echo "MY MESSAGE" > message.txt
$ cat message.txt
==========
== CUDA ==
==========
CUDA Version 12.3.0
Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
This container image and its contents are governed by the NVIDIA Deep Learning Container License.
By pulling and using the container, you accept the terms and conditions of this license:
https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
WARNING: The NVIDIA Driver was not detected. GPU functionality will not be available.
Use the NVIDIA Container Toolkit to start this container with GPU support; see
https://docs.nvidia.com/datacenter/cloud-native/ .
MY MESSAGE
Mitigation
If inheriting from the image in a new Dockerfile then ENTRYPOINT [] can be used to override and disable the entrypoint script.
If running from the command-line then you can use --entrypoint "" to achieve the same effect.
The text was updated successfully, but these errors were encountered:
The upstream
nvidia/cuda
images use a script in their Docker image ENTRYPOINT that prints a banner beforeexec
uting any command.This banner is printed to stdout. This is annoying when running a command via a temporary container where the stdout is important (e.g. is expected to be structured output such as XML).
Steps to reproduce
Mitigation
If inheriting from the image in a new
Dockerfile
thenENTRYPOINT []
can be used to override and disable the entrypoint script.If running from the command-line then you can use
--entrypoint ""
to achieve the same effect.The text was updated successfully, but these errors were encountered: