We are trying to understand how to use custom apps on App Host, we took an already working integration and packaged it by following "Developing and Converting Apps for App Host in Resilient" (url: Course: Developing and Converting Apps for App Host in Resilient (securitylearningacademy.com)) and Packaging your app (url: Packaging your app - IBM Documentation).
We learned that to refer our custom app on App Host, we need to use Private repository. So, we created a new repo and populated it with our custom app's docker image. And configured the App Host to use this repo.
Docker image details:
Docker image URL in Repo: https://artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>/1.0.0/
Docker image Title: XXXX/<custom_app>:1.0.0
And when we try to deploy the custom app from IBM SOAR, we are getting errors as mentioned below and not able to proceed further:
Case 1: When using image name as: " "image": "XXXX/<custom_app>/1.0.0/"," in app.json, the below error is observed.
Error:
InvalidImageName: Failed to apply default image tag "artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>/1.0.0/": couldn't parse image reference "artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>/1.0.0/": invalid reference format
Case 2: When using image name as: " "image": "XXXX/<custom_app>:1.0.0"," in app.json, the below error is observed.
Error:
ErrImagePull: rpc error: code = NotFound desc = failed to pull and unpack image "artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>:1.0.0": failed to resolve reference "artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>:1.0.0": artifactory.XXXX.com:<port>/artifactory/<repo_name>/XXXX/<custom_app>:1.0.0: not found
Please share your insights.
------------------------------
Meghana Medasani
------------------------------