1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-04-10 16:32:00 +00:00
Files
ohmyzsh-mirror/plugins
Andrei Polushin 73c4764e78 fix(docker): use docker --version instead of docker version
`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
2023-06-29 13:26:08 +02:00
..
2021-08-06 15:51:19 +02:00
2023-03-06 11:25:47 +01:00
2023-06-05 10:26:36 +02:00
2023-04-27 19:46:29 +02:00
2021-12-28 14:34:09 +01:00
2023-04-21 09:15:31 +02:00
2021-12-28 14:34:09 +01:00
2022-12-02 13:49:00 +01:00
2023-02-12 16:05:06 +01:00
2023-04-02 12:54:55 +02:00
2023-02-22 12:14:22 +01:00
2022-10-03 17:03:53 +02:00
2023-04-20 13:42:47 +02:00
2022-01-05 09:23:55 +01:00
2022-10-03 17:03:53 +02:00
2023-03-01 11:23:32 +01:00
2022-10-03 17:03:53 +02:00