mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-15 00:55:09 +01:00
setup
This commit is contained in:
parent
922056b63c
commit
58b33d6fd1
5 changed files with 40 additions and 13 deletions
9
docker/setup_net.sh
Executable file
9
docker/setup_net.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue