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 Imagebutton. -
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
TheMachine Learningoption 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. - Legacy App
-
Write a name for the image into the
Image Nameinput field. -
Write an expose into the
Exposeinput field. -
To add attachments to the image, click on the
Plusbutton.
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
Browsebutton and choose the attachment. -
To add the attachment to the image, click on the
OKbutton. -
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
Createbutton.
The image is created.