Skip to content

Conversation

@aevesdocker
Copy link
Contributor

Description

Follow-up to #23802

  • moves major new release to new release notes page
  • adds the Compose SDK page

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@netlify
Copy link

netlify bot commented Dec 3, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 8fa3f4f
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69316ee96a46f5000876b61f
😎 Deploy Preview https://deploy-preview-23803--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Dec 3, 2025
@aevesdocker aevesdocker marked this pull request as ready for review December 3, 2025 14:07
@aevesdocker aevesdocker requested review from glours and ndeloof December 3, 2025 14:07
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌
Thanks @aevesdocker

@aevesdocker aevesdocker requested a review from a team December 3, 2025 14:18
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

request: some more usage examples. Maybe take inspiration from the engine sdk examples page: https://deploy-preview-23751--docsdocker.netlify.app/reference/api/engine/sdk/examples/

Showing a few common use cases is probably a good idea to help people get going.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIT the SDK functions are self-explanatory as there's a 1:1 match with compose commands

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could say that about the engine SDK too but I still think examples are useful

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong, in many places the docker CLI relies on multiple API calls to achieve features people know well.

I'm not against examples, but I don't want to just write useless stuff like

// example: List Compose applications
applications, err := compose.List(ctx, ListOptions{})

I'd be happy to add more example once we get feedback on API usability from actual users

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah so when I say example, I don't mean showing function signatures. But we should be able to show some use cases beyond hello world. For example, using the EventProcessor. Or something with watch events, or custom logging, or even something more advanced like dependency visualization. Something to a) demo interesting capabilities, and b) show how these are meant to be used!

Comment on lines +128 to +132
## Tracking operations with `EventProcessor`

The `EventProcessor` interface allows you to monitor Compose operations in real-time by receiving events about changes
applied to Docker resources such as images, containers, volumes, and networks. This is particularly useful for building
user interfaces, logging systems, or monitoring tools that need to track the progress of Compose operations.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeating myself here but an example here would greatly help. It's quite opaque at the moment, hard to understand how this is meant to be used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Roger, and I agree. Can I request that we get this PR merged now and I add and improve the docs in a separate PR? It's going to take me a bit more time to get that together and it'd be good to get what we have now live. I've addressed your other comments already

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend git mv to ensure history is kept for this file. The history for the current file goes back to 2017.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I actually just moved this content onto this new page and kept the old page (I didn't rename the file or anything), so is git mv still needed? isn't the history for release-notes.md still kept in this instance?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dvdksn thanks for approving, just want to check the thinking on this before I merge

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hopefully we can remove the release notes from the website and just have them on github anyway, in which case this doesn't matter 😄

@aevesdocker aevesdocker requested a review from dvdksn December 4, 2025 11:26
@aevesdocker aevesdocker merged commit 1da94b1 into docker:main Dec 4, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/compose Relates to docker-compose.yml spec or docker-compose binary status/review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants