From 61bb62fe17043625e3f328d03aaa8e91e91cc526 Mon Sep 17 00:00:00 2001 From: dahlo Date: Thu, 24 Oct 2024 09:30:31 +0200 Subject: [PATCH] Added dynamic ownership ids for docker run command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 97b5de48d..83804078e 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,8 @@ docker push ghcr.io/nbisweden/workshop-ngsintro:2.3.0 docker push ghcr.io/nbisweden/workshop-ngsintro:latest # run container in the root of the repo -docker run --rm --platform linux/amd64 -u 1000:1000 -v ${PWD}:/qmd ghcr.io/nbisweden/workshop-ngsintro:latest -docker run --rm --platform linux/amd64 -u 1000:1000 -v ${PWD}:/qmd ghcr.io/nbisweden/workshop-ngsintro:latest quarto render index.qmd +docker run --rm --platform linux/amd64 -u $(id -u):$(id -g) -v ${PWD}:/qmd ghcr.io/nbisweden/workshop-ngsintro:latest +docker run --rm --platform linux/amd64 -u $(id -u):$(id -g) -v ${PWD}:/qmd ghcr.io/nbisweden/workshop-ngsintro:latest quarto render index.qmd ``` ## Test scripts