From a1927d6ebe762100b89edb3e17cc06a1eb6e8489 Mon Sep 17 00:00:00 2001 From: Navratan Lal Gupta <37469234+navilg@users.noreply.github.com> Date: Mon, 18 Jul 2022 18:08:33 +0530 Subject: [PATCH] Create network if not already exist --- pre-deploy.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pre-deploy.sh diff --git a/pre-deploy.sh b/pre-deploy.sh new file mode 100644 index 0000000..861d461 --- /dev/null +++ b/pre-deploy.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +docker network ls | grep -i mynetwork || docker network create mynetwork # Create network if not already exist \ No newline at end of file