I’m new to docker but I have docker for desktop running on Mac. A Katalan Studio project example named “TestProject” and the following “run_chrome.sh” and/or “run_firefox.sh” scripts. My bash/sh path set.
Now when I run these scripts I get the following error:
docker: invalid reference format: repository name must be lowercase
I have attempted to place the project outside Katalon Studio/ (to avoid folder with space) and I have attempted to rename the project folder to lowercase and project name in script.
I understand this is a docker thing but any reply/fix would be very helpful
seem to me this is problem docker thinks that you are setting repository there … try to remove “:”
see below : is used to choose version of image in repo…
docker run
<—cut—> katalonstudio/katalon:6.3.1 /bin/bash -c "cp /tmp/katalon_execute/project/MyVault/cacerts /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/ && katalon-execute.sh
<—cut—>
xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc -browserType=Chrome -retry=0 -statusDelay=15 ‘-testSuitePath=Test Suites/TestProjectAll’ -reportFolder=reports/chrome -reportFileName=testreport -runMode=console -reportFolder=/katalon/katalon/report -projectPath=
Katalon workspace folder is set to default location: /opt/katalonstudio/config/session-db61d6aa
Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified
173 2.4.7.xx-201611170128-e46 = ACTIVE
joptsimple.OptionMissingRequiredArgumentException: Option projectPath requires an argument
at joptsimple.RequiredArgumentOptionSpec.detectOptionArgument(RequiredArgumentOptionSpec.java:48)
at joptsimple.ArgumentAcceptingOptionSpec.handleOption(ArgumentAcceptingOptionSpec.java:257)
at joptsimple.OptionParser.handleShortOptionToken(OptionParser.java:520)
at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:59)
at joptsimple.OptionParser.parse(OptionParser.java:396)
at com.kms.katalon.execution.console.ConsoleMain.launch(ConsoleMain.java:132)
at com.kms.katalon.console.application.Application.runConsole(Application.java:71)
at com.kms.katalon.core.application.Application.runConsole(Application.java:98)
at com.kms.katalon.core.application.Application.start(Application.java:73)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)