Merge pull request #16574 from nuno-silva/dry-run-docs

fix get-docker invocation with DRY_RUN
This commit is contained in:
David Karlsson 2023-01-25 22:51:42 +01:00 committed by GitHub
commit 2ff8014595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -34,12 +34,12 @@ of the convenience script:
> Tip: preview script steps before running
>
> You can run the script with the `DRY_RUN=1` option to learn what steps the
> You can run the script with the `--dry-run` option to learn what steps the
> script will run when invoked:
>
> ```console
> $ curl -fsSL https://get.docker.com -o get-docker.sh
> $ DRY_RUN=1 sudo sh ./get-docker.sh
> $ sudo sh ./get-docker.sh --dry-run
> ```
This example downloads the script from