mirror of https://github.com/docker/docs.git
Merge pull request #16574 from nuno-silva/dry-run-docs
fix get-docker invocation with DRY_RUN
This commit is contained in:
commit
2ff8014595
|
@ -34,12 +34,12 @@ of the convenience script:
|
||||||
|
|
||||||
> Tip: preview script steps before running
|
> 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:
|
> script will run when invoked:
|
||||||
>
|
>
|
||||||
> ```console
|
> ```console
|
||||||
> $ curl -fsSL https://get.docker.com -o get-docker.sh
|
> $ 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
|
This example downloads the script from
|
||||||
|
|
Loading…
Reference in New Issue