Hi Docker forums,
I find the View summary of image vulnerabilities and recommendations → docker scout quickview Docker Scout message after my docker build
command distracting because it looks like something went wrong with my build and I want to remove the message. I tried the following:
-
I looked through the environment variables documentation at Use the Docker command line | Docker Documentation —didn’t find anything.
-
Based on my earlier Silence the Snyk message after docker build message—which silenced the distracting Sync message with the
DOCKER_SCAN_SUGGEST=false
env var—, I guessed that settingDOCKER_SCOUT_SUGGEST=false
environment variable might work—also didn’t work like the following shell session illustrates:$ export DOCKER_SCOUT_SUGGEST=false $ docker build -t myapp . [+] Building 0.8s (9/9) FINISHED docker:desktop-linux # ... => => naming to docker.io/library/myapp 0.0s What's Next? View summary of image vulnerabilities and recommendations → docker scout quickview
Observation: Notice that the Docker Scout What’s Next message even though I set that
DOCKER_SCOUT_SUGGEST=false
env var. -
Based on the
DOCKER_SCAN_SUGGEST
env var name, I guessed silencing the Scout message might be named likesomething_something_SUGGEST
; I searched on GitHub for theorg:docker "_SUGGEST\")"
query; but didn’t find anything—see screenshot.
Question: How do you remove that Docker Scout message from your build output? Also, Bonus: Is there a general environment variable to silence these sort of messages—something like DOCKER_SILENCE_SPAM=yes
or DOCKER_SUGGEST=no
?