diff --git a/start-azurite b/start-azurite index 00bd2b7..2258819 100755 --- a/start-azurite +++ b/start-azurite @@ -27,7 +27,7 @@ while [[ $# -gt 0 ]]; do esac done -if command -v dockerd &> /dev/null; then +if command -v docker &> /dev/null; then docker run --rm -d --name azurite --env-file "$AZURITE_DIR/accounts.env" -p 443:443 -v "$AZURITE_DIR/storage":/storage "$AZURITE_IMAGE" "${CONTAINER_ARGS[@]}" elif command -v container &> /dev/null; then container run -c 2 -m 512M --rm -d --name azurite --env-file "$AZURITE_DIR/accounts.env" -p 443:443 --mount type=bind,source="$AZURITE_DIR/storage",target=/storage "$AZURITE_IMAGE" "${CONTAINER_ARGS[@]}"