From 241ee9f645b2a715e5c30fd0b99e9ac091daa8a0 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Fri, 27 Feb 2026 12:21:50 +0100 Subject: [PATCH] fix: add container name to run commands in run.sh --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index a533441..6dcc540 100755 --- a/run.sh +++ b/run.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash if command -v dockerd &> /dev/null; then - docker run --rm -it --env-file accounts.env -p 443:443 -v ./storage:/storage azurite:latest + docker run --rm -it --name azurite --env-file accounts.env -p 443:443 -v ./storage:/storage azurite:latest "$@" elif command -v container &> /dev/null; then - container run --rm -it --env-file accounts.env -p 443:443 --mount type=bind,source=./storage,target=/storage azurite:latest + container run --rm -it --name azurite --env-file accounts.env -p 443:443 --mount type=bind,source=./storage,target=/storage azurite:latest "$@" else echo "Neither supported container runtime found." >&2 exit 1