Skip to content

Commit 0db5223

Browse files
authored
Update docker command to delete container on exit (#53)
1 parent b269a0d commit 0db5223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ The following will work:
114114
### Docker
115115
In the folder where your go.mod lives run
116116
```
117-
go list -u -m -json all | docker run -i psampaz/go-mod-outdated
117+
go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated
118118
```
119119
To use parameters just append
120120
```
121-
go list -u -m -json all | docker run -i psampaz/go-mod-outdated -update
121+
go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated -update
122122
```
123123
### CI pipelines
124124

0 commit comments

Comments
 (0)