From 5b5ddd9f40d150c545a650a3f80115697aacfd0e Mon Sep 17 00:00:00 2001 From: Arne Diehl Date: Mon, 24 Feb 2025 11:11:20 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index db6285b..4b3ff80 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ sudo cp untrunc /usr/local/bin ## Docker container + You can use the included Dockerfile to build and execute the package as a container.\ The optional argument 'FF_VER' will be passed to `make`. @@ -78,6 +79,13 @@ docker image prune --filter label=stage=intermediate -f docker run -v ~/Videos/:/mnt untrunc /mnt/ok.mp4 /mnt/broken.mp4 ``` +For one-off use you can run the following one-liner: +```sh +docker run --rm -v ~/Videos/:/mnt untrunc /mnt/ok.mp4 /mnt/broken.mp4 +``` +The `--rm` flag ensures that the container is removed after execution. + + ## Snapcraft If you have `snap`, you can use `sudo snap install --edge untrunc-anthwlock`. From 2a2f15ed4a02f34c2c9706c4f5fa6c5e3d473287 Mon Sep 17 00:00:00 2001 From: Arne Diehl Date: Mon, 24 Feb 2025 11:15:52 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 4b3ff80..6ffc478 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,6 @@ sudo cp untrunc /usr/local/bin ## Docker container - You can use the included Dockerfile to build and execute the package as a container.\ The optional argument 'FF_VER' will be passed to `make`.