ensure docker invocation is ephemeral

Also adjust the tag to use the `:stable` tag mentioned in the prior
line.
This commit is contained in:
Eli Flanagan 2019-05-07 07:48:43 -04:00
parent a3cd5979a2
commit c0d4c5a106
1 changed files with 8 additions and 8 deletions

View File

@ -195,7 +195,7 @@ From Docker Hub:
```sh
docker pull koalaman/shellcheck:stable # Or :v0.4.7 for that version, or :latest for daily builds
docker run -v "$PWD:/mnt" koalaman/shellcheck myscript
docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable myscript
```
or use `koalaman/shellcheck-alpine` if you want a larger Alpine Linux based image to extend. It works exactly like a regular Alpine image, but has shellcheck preinstalled.