compose/cmd
Milas Bowman b621948c1b feat(cli): report more useful User-Agent on engine API requests
When using the Moby/Docker Engine API client, we do not have a
useful user agent value being reported. Ideally, in the future,
the Docker CLI will set this appropriately for plugins when it
initializes the client.

For now, manually set it, which is a bit hacky because it
requires some casting & manually invoking an option function
that's technically meant for initialization. In practice, this
is pretty safe - the cast is checked defensively and we ignore
any errors (which shouldn't be possible anyway).

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2024-01-10 13:38:27 -05:00
..
cmdtrace otel: add args & flags to cli traces (#10974) 2023-09-07 16:04:36 -04:00
compatibility don't skip `compose` used as project name 2023-06-06 10:24:59 +02:00
compose Merge pull request #11292 from laurazard/update-cli-signal-handling 2024-01-02 15:48:14 -05:00
formatter Restore `Project` is ps json output 2023-11-24 10:46:33 +01:00
main.go feat(cli): report more useful User-Agent on engine API requests 2024-01-10 13:38:27 -05:00