This commit is contained in:
Darren 2023-10-07 17:45:58 +08:00 committed by GitHub
parent 507a340e9a
commit c7585f4982
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -253,6 +253,7 @@ set_docker(){
echo "Set Docker for Websoft9 backend service..." echo "Set Docker for Websoft9 backend service..."
merge_json_files merge_json_files
if ! docker network inspect websoft9 > /dev/null 2>&1; then if ! docker network inspect websoft9 > /dev/null 2>&1; then
sudo systemctl stop firewalld 2> /dev/null
sudo docker network create websoft9 sudo docker network create websoft9
sudo systemctl restart docker sudo systemctl restart docker
fi fi