From 7eb64ba3e5387792b58647f540d2183c6dc4785e Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Wed, 4 Oct 2023 13:21:40 +0200 Subject: [PATCH] Improved docker start with a nice group name 'pyros-app' in Docker-Desktop --- docker/PYROS_DOCKER_START.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker/PYROS_DOCKER_START.sh b/docker/PYROS_DOCKER_START.sh index 1677eb1..a143a4e 100755 --- a/docker/PYROS_DOCKER_START.sh +++ b/docker/PYROS_DOCKER_START.sh @@ -1,3 +1,5 @@ +# We need these variables for the build and when we launch the containers +# But then, we do not need them anymore. Anyway they are referenced in the docker-compose.yml but it does not find them in memory => makes a warning when using the containers... export CURRENT_UID=$(id -u) export COMPUTER_HOSTNAME=$HOSTNAME @@ -7,7 +9,10 @@ docker compose down --remove-orphans echo echo "Then START:" -docker compose up -d +# Take docker-compose.yml folder name ("docker") as containers group name in Docker Desktop by default +#docker compose up -d +# Change this group name with -p option +docker compose -p pyros-app up -d # See started containers echo -- libgit2 0.21.2