From 0db5223616ecf1828b7aeaf8da331a27539bfbbd Mon Sep 17 00:00:00 2001 From: lcd1232 <8745863+lcd1232@users.noreply.github.com> Date: Mon, 11 Oct 2021 20:54:10 +0300 Subject: [PATCH] Update docker command to delete container on exit (#53) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f52b101..dde0e74 100644 --- a/README.md +++ b/README.md @@ -114,11 +114,11 @@ The following will work: ### Docker In the folder where your go.mod lives run ``` -go list -u -m -json all | docker run -i psampaz/go-mod-outdated +go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated ``` To use parameters just append ``` -go list -u -m -json all | docker run -i psampaz/go-mod-outdated -update +go list -u -m -json all | docker run --rm -i psampaz/go-mod-outdated -update ``` ### CI pipelines