From 75253e1758dc3068de44608377ac6dcaf7a6454b Mon Sep 17 00:00:00 2001 From: "Peter A. Jonsson" Date: Sun, 22 Sep 2024 15:25:31 +0200 Subject: [PATCH] index/readme: rm container after completion There is no point in keeping the container around after its completion, so add --rm to the command. --- index/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index/readme.md b/index/readme.md index d66b4d6..1e5def6 100644 --- a/index/readme.md +++ b/index/readme.md @@ -18,7 +18,7 @@ pip-compile --upgrade --output-file constraints.txt --strip-extras requirements. To minimise version changes, update using the existing image (run from index folder): ``` -docker run -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt" +docker run --rm -v $(pwd):/datacube-index/ -w /datacube-index -it opendatacube/datacube-index bash -c "python3 -m pip install pip-tools && pip-compile --upgrade --output-file constraints.txt --strip-extras requirements.txt" ```