Ignore network if already created

This commit is contained in:
Mo 2023-08-19 00:22:46 +02:00
parent dc504ab035
commit a1363c0c25

View file

@ -8,9 +8,7 @@ set -l certs_dir $container_volumes_dir/certs
mkdir -p $logs_dir mkdir -p $logs_dir
mkdir -p $certs_dir mkdir -p $certs_dir
if not podman network exists traefik podman network create --ignore traefik; or return 1
podman network create traefik
end
podman-default-create \ podman-default-create \
$container_name \ $container_name \