We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23b45de commit b4763c6Copy full SHA for b4763c6
1 file changed
scripts/run_docker
@@ -60,8 +60,8 @@ echo ""
60
echo "Container name: ${ACAPY_CONTAINER_NAME}"
61
62
ACAPY_NETWORK_NAME="${NETWORK_NAME}"
63
-# Create new Docker network if it does not exist.
64
if [ -n "${NETWORK_NAME}" ]; then
+ # Create new Docker network if it does not exist.
65
if [ -z "$("$CONTAINER_RUNTIME" network ls --filter name=^"${NETWORK_NAME}"$ --format="{{ .Name }}")" ]; then
66
echo "Creating new Docker network: ${ACAPY_NETWORK_NAME}"
67
"$CONTAINER_RUNTIME" network create "${NETWORK_NAME}"
0 commit comments