9 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
a2eb5a8189 engine: slight tweaks to client sdk examples
I noticed that building the examples would produce a client with the
default ("Go-http-client/1.1") User-Agent; this is something to look
into (probably should have a saner default), but regardless, it's
good practice to set your own;

- Update examples to show setting the User-Agent
- Use "log.Fatal" instead of "panic"; both exit the binary, but
  probably are slightly more readable.
- Use the authconfig.Encode utility, which codifies the canonical
  format to encode the JSON, so that users don't have to replicate
  the same format.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-03-11 16:22:17 +01:00
Thomas Brüggemann
ca0020e2af Update Docker.DotNet link in C# library section
Fork because of unmaintained orginal repo.
2026-02-25 10:10:15 +01:00
github-actions[bot]
f5240e4220 docs: address issue #23308 (#24115)
## Summary
Added documentation for DOCKER_HOST requirement when using Docker SDKs
with Docker Desktop for Linux.

## Changes
- Added "Using Docker SDKs with Docker Desktop" section to Linux install
docs explaining why SDKs need DOCKER_HOST set and providing
configuration commands
- Added FAQ entry "How do I use Docker SDKs with Docker Desktop for
Linux?" with troubleshooting steps
- Added note in SDK reference docs alerting Docker Desktop for Linux
users to set DOCKER_HOST before using SDKs

Fixes #23308

---
🤖 Generated with [cagent](https://github.com/docker/cagent)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: aevesdocker <allie.sadler@docker.com>
2026-02-12 11:03:06 +00:00
David Karlsson
34db3110ce engine: update go sdk examples to use new moby/moby/client module
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-11-20 18:01:07 +01:00
David Karlsson
53953dc8d0 engine: use moby/moby/api module and bump min api version to 1.44
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
(cherry picked from commit 79abab7d09)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-11-12 10:27:04 +01:00
Leo Conforti
53929ac491 Update _index.md 2024-10-18 17:54:29 -05:00
David Karlsson
443685d27b engine: fix incorrect types in engine sdk overview example
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-10-14 14:47:37 +02:00
David Karlsson
656d1a871c chore: add navigation stubs, weights
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-09-09 11:24:49 +02:00
David Karlsson
2018844f1e chore: move engine API to /reference
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2024-08-22 13:24:05 +02:00