Minimal KNIME Installation for Command Line Workflow Execution

Hello Community,

I’m curious if there’s a minimal version of KNIME available that excludes the GUI and optional components, allowing me to run workflows from the command line. My goal is to create a Docker container that automatically executes a specific KNIME workflow while keeping the build as lightweight as possible.

I’m also open to any suggestions on how to minimize the KNIME installation or other ways to achieve a streamlined setup.

Thank you!

I believe going with the zip archive for Windows or the equivalent for Linux isn’t going to get any more efficient.

Just as a comparison, the Windows installer creates an app folder of about 1 GB in size which is exactly equal to the ZIP package.

image

You could then proceed uninstalling some of the not required default packages:

Checking the plugins directory it seems the Chromium extension consumes almost 300 MB:

If you want intricate details about batch execution I can highly recommend the article from Markus Lauber:

2 Likes

Thank you for the detailed response, mwiegand!

I appreciate the information and the tips on uninstalling unnecessary default packages. I’ll definitely look into the Chromium extension and other plugins to see what I can trim down.

Regarding batch execution, I’ll check out the article from Markus Lauber for more insights. It sounds like it could be exactly what I need to streamline my setup.

If anyone else has additional tips or experiences with creating a minimal KNIME setup for Docker, I’d love to hear them!

Thanks again for the help!

Just in case Virtualbox might be an option to consider, I used it to send commands to to Kali Linux i.e. to carry out a security assessment. Furthermore, a tool unknown to many, is NodePit Runner and just lately I read an interesting article leveraging Airflow too:

2 Likes