mirror of https://github.com/docker/docs.git
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 <102604716+aevesdocker@users.noreply.github.com>
This commit is contained in:
parent
b116a7c74c
commit
11f970ed5e
|
@ -141,3 +141,9 @@ Do you want to continue? [y/N]: y
|
|||
|
||||
Your compose stack "oci://registry.example.com/stack:latest" is stored in "~/Library/Caches/docker-compose/964e715660d6f6c3b384e05e7338613795f7dcd3613890cfa57e3540353b9d6d"
|
||||
```
|
||||
|
||||
The `docker compose publish` command supports non-interactive execution, letting you skip the confirmation prompt by including the `-y` (or `--yes`) flag:
|
||||
|
||||
```console
|
||||
$ docker compose publish -y username/my-compose-app:latest
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue