On-Boarding Pre-Dockerized Model Using the Portal UIΒΆ
Acumos allows users to On-board their docker image models. Each model dockerized outside acumos by modelers can be On-boarded in Acumos. You just have to use the On-boarding dockerized model panel in the on-boarding model page of the Acumos portal.In this panel you can find two options.
- Upload New
When you click Upload New button , you will get Model Name field, just type the desired name of the model and click on Check Availability to check whether the model name is available. Click the Create Docker Image Reference button which is shown after name validation.
- Upload Revision
When you click on Upload Revision button, you can search the existing model and select that model. You can Click on Update Docker Image Reference button which is shown after selecting your model.
In the above both cases, you will receive the Acumos image reference in the My Image Model field which is to be used to push your docker image model in Acumos.
This Acumos image reference looks like :
<acumos_domain>:<docker_proxy_port>/modelname_soultion_id:tag
Below are the steps to push your docker image.
Login the Acumos Docker Registry
docker login https://<acumos_domain>:<docker_proxy_port> -u <acumos_userid> -p <acumos_password>
Tag the docker image model with the Acumos image reference
docker tag my_image_model <acumos_domain>:<docker_proxy_port>/modelname_solution_id:tag
Push the model in Acumos
docker push <acumos_domain>:<docker_proxy_port>/modelname_solution_id:tag