• Andrei Polushin's avatar
    fix(docker): use `docker --version` instead of `docker version` · 73c4764e
    Andrei Polushin authored
    `docker version` subcommand is able to return both docker client and
    docker daemon information.  To get a daemon version, it connects to a
    possibly remote daemon.  If the remote daemon is not accessible, the
    client waits for some time, until it gets interrupted by timeout.
    
    As a result we can have a docker client running in background. When zsh
    session is rather short, a terminal application (iTerm2) starts asking
    if that background docker process should be stopped.
    
    On the other hand, to get a docker client version only, we can use
    `docker --version` instead. It does not connect to a daemon.
    
    Closes #11780
    73c4764e
Name
Last commit
Last update
.github Loading commit data...
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitpod.Dockerfile Loading commit data...
.gitpod.yml Loading commit data...
.prettierrc Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
oh-my-zsh.sh Loading commit data...