diff --git a/wallarm-deploy-ct.sh b/wallarm-deploy-ct.sh index cb7d1aa..9b08e66 100644 --- a/wallarm-deploy-ct.sh +++ b/wallarm-deploy-ct.sh @@ -134,6 +134,9 @@ execute_deployment() { sudo mkdir -p "$INSTANCE_DIR" cd "$INSTANCE_DIR" + # Fully qualified name ensures Podman/Docker doesn't prompt for registry choice + IMAGE_NAME="docker.io/wallarm/node:latest" + echo "Generating Nginx Configuration..." sudo tee "$INSTANCE_DIR/nginx.conf" > /dev/null < /dev/null </dev/null - # Pulling to ensure the latest version is fetched regardless of local cache - echo "Pulling Wallarm Node:latest image..." - sudo $ENGINE pull wallarm/node:latest + # Pulling explicitly with docker.io prefix to avoid short-name resolution errors + echo "Pulling latest image from Docker Hub (docker.io)..." + sudo $ENGINE pull $IMAGE_NAME if command -v podman-compose &> /dev/null; then sudo podman-compose -f compose.yml up -d