Djordje Lukic
|
98976e4cb4
Cleanup entrypoint
|
5 years ago |
Djordje Lukic
|
908212a947
Add version in the main package
|
5 years ago |
Djordje Lukic
|
0c1f0f81df
Usage metrics
|
5 years ago |
Guillaume Tardif
|
fa8b911cd8
Allow running `docker -v` or `--version` even if context is not default
|
5 years ago |
Guillaume Tardif
|
38d4f8d25a
Shell out to Moby cli if user uses -H, regardless of context set. Moby cli will refuse both options (context & host) to be set at the same time
|
5 years ago |
Guillaume Tardif
|
dbaab41604
Changed root level debug shorthand to capital D, make it consistent with Moby flag and not clash with —detach future option
|
5 years ago |
Guillaume Tardif
|
45750fe104
Do not display “docker for the 2020s” as the first help line !
|
5 years ago |
Djordje Lukic
|
ad72c866cc
Add license headers
|
5 years ago |
Guillaume Tardif
|
ab3cd0fec1
Renamed ExecIfDefaultCtxType for more explicit behaviour
|
5 years ago |
Guillaume Tardif
|
bbcdad39d5
Renamed docker-classic to “com.docker.com”.
|
5 years ago |
Ulysses Souza
|
96bc1ca6f1
Add inspect command
|
5 years ago |
Guillaume Tardif
|
0de2522079
Renamed Moby backend to “local” backend. This will leave “moby” available for default type contexts
|
5 years ago |
Guillaume Tardif
|
336df897c1
Merge pull request #207 from docker/version_cli
|
5 years ago |
Guillaume Tardif
|
98f7a8e1aa
When can not load config file, the previous cli is displaying a WARNING message, but continues with default context, we should do the same.
|
5 years ago |
Guillaume Tardif
|
dda4b0f3bf
Wrap error cause so that we can understand why the cli cannot determine current context.
|
5 years ago |
Guillaume Tardif
|
376a4b671c
version command adding azure integration beta version in textual output
|
5 years ago |
Guillaume Tardif
|
72bae873c5
Do not delegate to old cli if cobra fails before invoking the PreRun or SetHelp hook that call isOwnCommand(). Find the command from root.Find(args).
|
5 years ago |
Djordje Lukic
|
22d4d250a9
Move the config into own package and outside of cli
|
5 years ago |
Guillaume Tardif
|
f939dd4d47
Display friendly message if unknown command is available in default context
|
5 years ago |
Guillaume Tardif
|
e2b9f5bc57
Move login to root command, delegate to classic login when only one arg and not dot in it
|
5 years ago |
Guillaume Tardif
|
528d47ce08
Add docker context inspect command relying on classic docker
|
5 years ago |
Guillaume Tardif
|
ea98a2dd78
Fix docker-classic creation makefile target
|
5 years ago |
Guillaume Tardif
|
cc46f84043
Forward closing signal to docker-classic when closing docker. Note this will not forward Kill signal, impossible to intercept / process this one.
|
5 years ago |
Guillaume Tardif
|
66a83410dd
Ensure we have a clear error message in case of wrong setup (previously it would just exit with no error message)
|
5 years ago |
Djordje Lukic
|
11339761ca
Change the way a context is stored
|
5 years ago |
Christopher Crone
|
88ba591fc3
Seed random with nanosecond time
|
5 years ago |
Christopher Crone
|
058e6203a7
Store config dir in CLI context
|
5 years ago |
Guillaume Tardif
|
2610b986fd
delegate Moby to docker-classic binary, link docker-classic in e2e tests
|
5 years ago |
Christopher Crone
|
f6fcd27a09
Factor determination of current context
|
5 years ago |
Djordje Lukic
|
42c72c365c
Split context comands into own files
|
5 years ago |