Custom Docker Containers

Create custom Docker containers to use as functions in Flow_Studio.

Add or Configure a Docker Function

To create a Docker function:

  1. Click the heading titled Docker Containers on the Administration overview page.
  2. Click Create new Docker Function.


  3. Fill in the configuration form:

    • Enter name for the function.
    • Click Add
      • Select Open file to upload an image from a file system.
        • Select the Docker image (supported extensions .tar, .tgz, and .tar.gz) to upload from the file system and click Open
      • Select Docker registry to import an image from a Docker registry. 

        Uploading an image from a Docker registry or Google Drive may be solution when trying to upload a very large file and your local internet upload speed is not as fast as desired.

        Learn more from Docker about using registries.


        • Fill out the following fields:
          • Registry address
          • Image repository
          • Image tag
        • Check the box if credentials are required and enter a user name and password.
        • Click Download image.
      • Select Google Drive to import an image from Google Drive.

        If the Google Drive button is not functional, it is possible that your deployment domain needs to be known by Google for Hero_Flow. In this case, contact your customer service representative or support@automationhero.ai to resolve the issue.


        • Select the Google user account.
        • Allow the Hero_Flow app to access Google Drive.
        • Select a Docker image (supported extensions .tar, .tgz, and .tar.gz) to import to Hero_Flow.
    • Adjust the sliding bar for memory allocation for the function.
    • Enter the container port number.
    • Enter the initial delay value in seconds for amount of time to between when container starts and when the Flow begins to use it.
      • The setting helps prevent containers from failing/timing out when additional time is needed to load the function application within the container.
    • Click Add field to enter an input field name(s) and assign it a data type. 
    • Click Add field to enter an output field name(s) and assign it a data type. 

      The Docker function must include the Input variable names/data types it expects to process and the Output variable names/data types it will return. These Input and Output variable names/data types need to be in accordance with the request and response Fields used in your Docker image and are required when adding a Docker function in Hero_Flow.


    • Click OK to save the custom Docker function.

Binary Data Support

Developers of containerized functions can use binary data as Input and as Output fields.

  • Containerized functions can read/write files from folders that Hero_Flow has permission to access.
  • By default, the folder is: “/binary”.
  • The value of the Input/Output field in the path to the file is: “/binary/<file name>.txt”.

View Saved Docker Function

To view a list of the Docker functions in Hero_Flow:

  1. Click the heading titled Docker Container on the Administration home page.
  2. A list is displayed of all Docker functions saved in Hero_Flow.

Clicking the gear icon under the Settings heading allows for editing, cloning, or deleting the function. 

Delete a Docker Image

Deleting the Docker function does not delete the uploaded Docker image.

To delete a Docker image:

  1. Click the heading titled Docker Container on the Administration home page.
  2. Click Create new Docker Function.
  3. Open the drop-down menu for the Docker Image field.
  4. Click the X next to the Docker image to delete.

Use a Docker Function in a Flow

To access a Docker function in Flow Studio:

  1. Click the add button in the Flow.
  2. Under the heading Containerized function, select the Docker function.