Skip to content

Commit 11f970e

Browse files
Update oci-artifact.md (#22489)
## Description Included the -y option to bypass interactive confirmation in the OCI artifact documentation ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review --------- Co-authored-by: Allie Sadler <[email protected]>
1 parent b116a7c commit 11f970e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/manuals/compose/how-tos/oci-artifact.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,9 @@ Do you want to continue? [y/N]: y
141141
142142
Your compose stack "oci://registry.example.com/stack:latest" is stored in "~/Library/Caches/docker-compose/964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d"
143143
```
144+
145+
The `docker compose publish` command supports non-interactive execution, letting you skip the confirmation prompt by including the `-y` (or `--yes`) flag:
146+
147+
```console
148+
$ docker compose publish -y username/my-compose-app:latest
149+
```

0 commit comments

Comments
 (0)