Skip to content

Disable “What’s New” Notices in Docker CLI

Today’s post is just a screen de-cluttering tip.

I reset something on my computer, and now after every docker command I run, there’s a notice that appears after the command’s output encouraging me to try Docker Debug.

Ex:

INFO Application cache cleared successfully.  

What's next:

Try Docker Debug for seamless, persistent debugging tools in any container or image → docker debug cv-app
    
Learn more at https://docs.docker.com/go/debug-cli/

I finally looked up how to turn it off today. You can set the DOCKER_CLI_HINTS environment variable to false and those go away!

I’m running zsh as my terminal, so I added:

export DOCKER_CLI_HINTS=false

to my .zshrc file and the messages are gone.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.