Creating a Docker image¶
Requirement¶
- Files for the image are available.
- IE App Publisher is connected to Docker Development Server.
Procedure¶
To create an image and download the image to the Docker Development Server, proceed as follows:
-
Click in the header of the publisher on the
Create Image
button. -
Choose one of the following:
- Legacy App This option is used to build a quick Docker image with minimum options on the connected Docker Engine. All the configurations provided in this popup are used to create a Docker file. Legacy option automatically picks the base image depended on the startup file provided.
- Machine Learning
The
Machine Learning
option requires TensorFlow model and it creates a microservices image which has TensorFlow Serving server hosting the model. - Custom This option is used to build a Docker image with the given base image on the connected Docker Engine.
To get more informations to one of the options, click on the
button.
-
Write a name for the image into the
Image Name
input field. -
Write an expose into the
Expose
input field. -
To add attachments to the image, click on the
Plus
button. If you do not want to add attachments, proceed with step 12. -
Choose the type of attachment you want to add to the image.
-
Click on the
Browse
button and choose the attachment. -
To add the attachment to the image, click on the
OK
button. -
To run the attachment on the startup of the app, activate
Run on startup
. -
To add another attachment, repeat the steps 5 to 9.
-
To delete an added attachment, click on the
button of the respective attachment.
-
Click on the
Create
button.
The image is created.