After the build completes, run the image locally to confirm that the application starts and responds as expected:
BASH
# Run the local imagedocker run -p 9511:9511 <your-image-name># Run interactively with shell access:docker run -it -p 9511:9511 <your-image-name> /bin/bash# Stop running containerdocker stop <container-id-or-name># Tidydocker rm <container-id-or-name>
Then, tag the image for IBM Cloud Container Registry:
BASH
# Use a date structure instead of latest for claritydocker tag agentic-webhooks {{REGISTRY_URL}}/agentic-webhooks:20260421$ docker image lsagentic-webhooks:latest d350a69a97bf 163MB 0B{{REGISTRY_URL}}/agentic-webhooks:20260421 d350a69a97bf 163MB 0B