How to Run Katalon Docker on Windows

How to Run Katalon Docker on Windows

26 February 2025 Stephan Petzl Leave a comment Katalon Issues

Running Katalon Docker images on Windows can be challenging, especially if you’re unfamiliar with the syntax and configuration requirements. In this guide, we will provide a clear and functional example to help you set up and run Katalon Docker on a Windows environment effectively.

Understanding the Docker Command

To run Katalon Studio using Docker on Windows, you’ll need to use a specific command structure. Below is a practical example that demonstrates how to set up the environment and execute your test suites:

docker run --rm -e KATALON_OPTS="-browserType='Chrome' -retry=0 -statusDelay=15 -testSuitePath='Test Suites/Bla/Bla-Login/User-Pass/Login-Logout'" -v /d/katalon_tests/Steptest:/katalon/katalon/source:ro -v /d/katalon_tests/Steptest/Reports:/katalon/katalon/report katalonstudio/katalon

Explanation of the Command

  • docker run –rm: This command starts a new Docker container and removes it when it exits.
  • -e KATALON_OPTS: This option allows you to set the Katalon command-line arguments. In this example, it specifies the browser type, retry count, and test suite path.
  • -v /d/katalon_tests/Steptest:/katalon/katalon/source:ro: This mounts the directory containing your test scripts to the container. The :ro denotes read-only access.
  • -v /d/katalon_tests/Steptest/Reports:/katalon/katalon/report: This mounts the directory where reports will be saved.
  • katalonstudio/katalon: This is the Docker image name.

Additional Resources

For further information on setting up test environments and advanced configurations, you can refer to our advanced configuration guide.

Enhancing Test Automation with Repeato

While setting up and running Katalon Docker on Windows is a reliable way to automate tests, you might also consider exploring Repeato, our no-code test automation tool. Repeato offers a streamlined approach to creating, running, and maintaining automated tests for iOS, Android, and web applications. It leverages computer vision and AI to enhance test accuracy and efficiency.

With Repeato, you can easily automate complex tasks using command line scripts or JavaScript code. It supports data-driven and keyword-driven testing, and all test data is stored in text and JSON formats for easy version control. This makes Repeato a practical alternative to traditional tools, providing a user-friendly experience without the scripting language limitations seen in other solutions.

Like this article? there’s more where that came from!