mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
9 lines
219 B
Bash
Executable file
9 lines
219 B
Bash
Executable file
NET_NAME="internal"
|
|
|
|
if docker network inspect "$NET_NAME" > /dev/null 2>&1 ;
|
|
then
|
|
echo "Network $NET_NAME exists already...";
|
|
else
|
|
echo "Creating network $NET_NAME..."
|
|
docker network create "$NET_NAME"
|
|
fi
|