Skip to content

Commit 4356a41

Browse files
committed
build: docker: avoid Docker Inc's "What's next" hints
- enough spam already, thanks Signed-off-by: Ricardo Pardini <[email protected]>
1 parent 06d05c6 commit 4356a41

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bash/docker.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ function check_docker_daemon_for_sanity() {
1010
log debug "Setting DOCKER_HOST to '${current_context_docker_socket}'"
1111
export DOCKER_HOST="${current_context_docker_socket}"
1212

13+
# Hide Docker, Inc spamming "What's next" et al.
14+
export DOCKER_CLI_HINTS=false
15+
1316
# Shenanigans to go around error control & capture output in the same effort, 'docker info' is slow.
1417
declare docker_info docker_buildx_version
1518
docker_info="$({ docker info 2> /dev/null && echo "DOCKER_INFO_OK"; } || true)"

0 commit comments

Comments
 (0)