From 4356a417defc8a6247437cb3603f9089ca40ba7a Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sat, 11 Jan 2025 18:59:47 +0100 Subject: [PATCH] build: docker: avoid Docker Inc's "What's next" hints - enough spam already, thanks Signed-off-by: Ricardo Pardini --- bash/docker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/docker.sh b/bash/docker.sh index a59437db..bca6a85d 100644 --- a/bash/docker.sh +++ b/bash/docker.sh @@ -10,6 +10,9 @@ function check_docker_daemon_for_sanity() { log debug "Setting DOCKER_HOST to '${current_context_docker_socket}'" export DOCKER_HOST="${current_context_docker_socket}" + # Hide Docker, Inc spamming "What's next" et al. + export DOCKER_CLI_HINTS=false + # Shenanigans to go around error control & capture output in the same effort, 'docker info' is slow. declare docker_info docker_buildx_version docker_info="$({ docker info 2> /dev/null && echo "DOCKER_INFO_OK"; } || true)"