From a1363c0c25271bf8561922f103dc16f0f15eb99d Mon Sep 17 00:00:00 2001 From: mo8it Date: Sat, 19 Aug 2023 00:22:46 +0200 Subject: [PATCH] Ignore network if already created --- containers/traefik.fish | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/containers/traefik.fish b/containers/traefik.fish index 99696aa..d56f846 100755 --- a/containers/traefik.fish +++ b/containers/traefik.fish @@ -8,9 +8,7 @@ set -l certs_dir $container_volumes_dir/certs mkdir -p $logs_dir mkdir -p $certs_dir -if not podman network exists traefik - podman network create traefik -end +podman network create --ignore traefik; or return 1 podman-default-create \ $container_name \