Ignore network if already created
This commit is contained in:
parent
dc504ab035
commit
a1363c0c25
1 changed files with 1 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue