Commit 7eb64ba3e5387792b58647f540d2183c6dc4785e
1 parent
af6953e2
Exists in
dev
Improved docker start with a nice group name 'pyros-app' in Docker-Desktop
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
docker/PYROS_DOCKER_START.sh
1 | +# We need these variables for the build and when we launch the containers | |
2 | +# 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... | |
1 | 3 | export CURRENT_UID=$(id -u) |
2 | 4 | export COMPUTER_HOSTNAME=$HOSTNAME |
3 | 5 | |
... | ... | @@ -7,7 +9,10 @@ docker compose down --remove-orphans |
7 | 9 | |
8 | 10 | echo |
9 | 11 | echo "Then START:" |
10 | -docker compose up -d | |
12 | +# Take docker-compose.yml folder name ("docker") as containers group name in Docker Desktop by default | |
13 | +#docker compose up -d | |
14 | +# Change this group name with -p option | |
15 | +docker compose -p pyros-app up -d | |
11 | 16 | |
12 | 17 | # See started containers |
13 | 18 | echo | ... | ... |