Skip to content

Add --networks flag to config command - #13021

Merged
glours merged 2 commits into
docker:mainfrom
jarqvi:chore/config-cmd
Jul 7, 2025
Merged

glours merged 2 commits into
docker:mainfrom
jarqvi:chore/config-cmd

Conversation

@jarqvi

@jarqvi jarqvi commented Jul 6, 2025

Copy link
Copy Markdown
Contributor

What I did
Add a new flag to config command for print the network names, one per line.

@jarqvi
jarqvi requested a review from a team as a code owner July 6, 2025 15:43
@jarqvi
jarqvi requested review from glours and ndeloof July 6, 2025 15:43
@ndeloof

ndeloof commented Jul 7, 2025

Copy link
Copy Markdown
Contributor

I'm ok we introduce more config "subcommands" (as flags 🤪) but I'd like this to be aligned with docker cli docker network ls: render as a table, or optional format. We can look into this as a follow-up PR

@jarqvi

jarqvi commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

I'm ok we introduce more config "subcommands" (as flags 🤪) but I'd like this to be aligned with docker cli docker network ls: render as a table, or optional format. We can look into this as a follow-up PR

I agree, and I'm ready for any follow-up PR:))

Signed-off-by: MohammadHasan Akbari <[email protected]>
@jarqvi

jarqvi commented Jul 7, 2025

Copy link
Copy Markdown
Contributor Author

I fixed the lint errors
@ndeloof

@glours
glours enabled auto-merge (rebase) July 7, 2025 08:27
@glours
glours merged commit 0e0ed91 into docker:main Jul 7, 2025
@jarqvi
jarqvi deleted the chore/config-cmd branch July 7, 2025 08:52
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Jul 9, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker/compose](https://github.com/docker/compose) | patch | `v2.38.1` -> `v2.38.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>docker/compose (docker/compose)</summary>

### [`v2.38.2`](https://github.com/docker/compose/releases/tag/v2.38.2)

[Compare Source](docker/compose@v2.38.1...v2.38.2)

#### What's Changed

##### ✨ Improvements

- Add `--networks` flag to config command by [@&#8203;jarqvi](https://github.com/jarqvi) in docker/compose#13021

##### 🐛 Fixes

- Add a Done event to model progress display by [@&#8203;glours](https://github.com/glours) in docker/compose#13008
- Fix the way we're checking if the provider metadata are empty or not by [@&#8203;glours](https://github.com/glours) in docker/compose#13017
- Build: fix service with profile missing secrets by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#13023
- Fix select dockerignore based on Dockerfile name set from symlink by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#13024

##### 🔧  Internal

- pkg/compose: remove redundant uses of strslice.StrSlice by [@&#8203;thaJeztah](https://github.com/thaJeztah) in docker/compose#13002
- (reactoring) avoid a global variable by introducing logConsumer decorator by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#12945
- Chore: fix some minor issues in the comments by [@&#8203;mountdisk](https://github.com/mountdisk) in docker/compose#12991
- A single place for shell-out command setup by [@&#8203;ndeloof](https://github.com/ndeloof) in docker/compose#13007
- Add USER\_AGENT variable to cmd when shellouting by [@&#8203;glours](https://github.com/glours) in docker/compose#13025

##### ⚙️ Dependencies

- Bump golang to v1.23.10 by [@&#8203;glours](https://github.com/glours) in docker/compose#13004
- Bump go-viper/mapstructure to version v2.3.0 by [@&#8203;glours](https://github.com/glours) in docker/compose#13005
- Build(deps): bump github.com/moby/buildkit from 0.23.1 to 0.23.2 by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#13009
- Build(deps): bump github.com/docker/cli from 28.3.0+incompatible to 28.3.1+incompatible by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#13012
- Build(deps): bump github.com/docker/docker from 28.3.0+incompatible to 28.3.1+incompatible by [@&#8203;dependabot](https://github.com/dependabot) in docker/compose#13011

#### New Contributors

- [@&#8203;mountdisk](https://github.com/mountdisk) made their first contribution in docker/compose#12991

**Full Changelog**: docker/compose@v2.38.1...v2.38.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDAuNjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants