Closed gzliudan closed 11 months ago
docker compose
Set docker-compose as an alias of docker compose when docker-compose is not found.
sudo
If the user has docker permission:
./docker-up.sh ./docker-down.sh
If the user has no docker permission:
sudo ./docker-up.sh sudo ./docker-down.sh
BTW: how to grant docker permission:
sudo adduser ${USER} docker newgrp docker
About this PR
1. Support
docker compose
Set docker-compose as an alias of
docker compose
when docker-compose is not found.2. Remove
sudo
in scriptsIf the user has docker permission:
If the user has no docker permission:
BTW: how to grant docker permission: