# Problems with custom docker image with Chrome browser version 112

**URL:** <https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272>\
**Category:** Miscellaneous\
**Tags:** docker-image\
**Created:** [July 28, 2023, 1:37pm UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272 "2023-07-28T13:37:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![goutham.samala](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/goutham.samala/32/23869_2.png) [@goutham.samala](https://forum.katalon.com/u/goutham.samala)\
**Post date:** [July 28, 2023, 1:37pm UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/1 "2023-07-28T13:37:33Z")

</div>

Hi I have built the KS custom docker image with chrome browser 112 following the [https://github.com/katalon-studio/docker-images/](https://github.com/katalon-studio/docker-images/)  
But I am unable to start the Katalon studio, it is getting stuck as follows

docker run -t --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh -projectPath=/tmp/project [Option1] [Option2] … [OptionN]

- echo Entrypoint

Entrypoint

- ‘[’ -z ‘’ ‘]’

- exec katalonc.sh -projectPath=/tmp/project ‘[Option1]’ ‘[Option2]’ … ‘[OptionN]’

- echo ‘Starting Katalon Studio’

Starting Katalon Studio

- cat /katalon/version

Mozilla Firefox 116.0

Google Chrome 112.0.5615.49

Microsoft Edge 114.0.1823.82

Katalon Studio

- args=(“$KATALON\_KATALON\_INSTALL\_DIR/katalonc” “$@”)

- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc -projectPath=/tmp/project ‘[Option1]’ ‘[Option2]’ … ‘[OptionN]’

**It is getting stuck at this point** Can someone guide me if I am doing something wrong. Please find the docker file and setup.sh  
I made changes in setup.sh to install Chrome 112 version  
[Dockerfile](https://forum.katalon.com/uploads/short-url/sEtc1K9GS6yWQta6lrOnSjwFZUd) (1.8 KB)  
[setup.sh](https://forum.katalon.com/uploads/short-url/i5veip1daUVu5lViO7tCg504qk2.sh) (3.1 KB)

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [July 31, 2023, 3:52am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/2 "2023-07-31T03:52:05Z")

</div>

Hi,

Please help checking the log of Docker image. Run `docker run -it --rm -v "$(pwd)":/tmp/project gouthamsam/ks8.6.0:v1 bash` to interact with Docker container, check the log `docker logs CONTAINER_ID`.  
The error message shows the project path as /tmp/project. Ensure that you have mounted the correct project path to the Docker container when running the command. Make sure the project is accessible from within the container.  
And we might have to upgrade Katalon version to be compatible with Chrome 112. Let me know if you can solve it.

---

<div class="post-metadata">

**Author:** ![goutham.samala](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/goutham.samala/32/23869_2.png) [@goutham.samala](https://forum.katalon.com/u/goutham.samala)\
**Post date:** [July 31, 2023, 8:23am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/3 "2023-07-31T08:23:31Z")

</div>

Hi @Elly_Tran , the issue over here is katalon studio not getting launched and it is stuck after this line

docker run -it --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh

- echo Entrypoint

Entrypoint

- ‘[’ -z ‘’ ‘]’

- exec katalonc.sh

- echo ‘Starting Katalon Studio’

Starting Katalon Studio

- cat /katalon/version

Mozilla Firefox 116.0

Google Chrome 112.0.5615.49

Microsoft Edge 114.0.1823.82

Katalon Studio

- args=(“$KATALON\_KATALON\_INSTALL\_DIR/katalonc” “$@”)

- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc

**No progress after this**

But when I use the katalon studio image, it works as expected.  
docker run -it --rm -v “$(pwd)”:/tmp/project katalonstudio/katalon katalonc.sh

- echo Entrypoint

Entrypoint

- ‘[’ -z ‘’ ‘]’

- exec katalonc.sh

- echo ‘Starting Katalon Studio’

Starting Katalon Studio

- cat /katalon/version

Mozilla Firefox 114.0

Google Chrome 114.0.5735.90

Microsoft Edge 113.0.1774.57

Katalon Studio

- args=(“$KATALON\_KATALON\_INSTALL\_DIR/katalonc” “$@”)

- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc

Katalon workspace folder is set to default location: /tmp/session-edfef1a0

Starting Groovy-Eclipse compiler resolver. Specified compiler level: unspecified

138 org.codehaus.groovy\_2.4.20.v202009301404-e2006-RELEASE ACTIVE

Activating…

Start getting machine ID on Linux

End getting machine ID on Linux b0613095a6291076310abce36476c3b2

Start appending additional signatures

hardwareSerialNumber

osDependentUsername root

End appending additional signatures b0613095a6291076310abce36476c3b2\_\_root

Start activating offline…

Search for valid offline licenses in folder: /root/.katalon/license

The number of valid offline licenses: 0

Start activating online…

Can you guide me on how to build the correct custom image with Chrome version 112

---

<div class="post-metadata">

**Author:** ![Elly\_Tran](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/elly_tran/32/21874_2.png) [@Elly\_Tran](https://forum.katalon.com/u/Elly_Tran)\
**Post date:** [August 1, 2023, 10:12am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/4 "2023-08-01T10:12:25Z")

</div>

Hi,

Are you a paid user? If yes, please help open ticket in [Katalon Help Center](https://katalon-inc.my.site.com/katalonhelpcenter/s/). Otherwise, I will ask my internal team.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 3, 2023, 9:50pm UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/5 "2023-08-03T21:50:54Z")

</div>

> [@goutham.samala](#):
>
> Google Chrome 112.0.5615.49

> [@goutham.samala](#):
>
> Google Chrome 114.0.5735.90

I noticed that the version of Google Chrome is auto-updated. Do you accept that?

* * *

Google Chrome performs auto-update as default. If you want to control the version of Chrome in the runtime environment for your testing, you possibly want to use

- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/)

“Google Chrome for Testing” does NOT perform auto-update as default.

“Google Chrome for Testing” was released just recently in July this year. The version starts with 115.x.x.

You may need some instruction to use “Google Chrome for Testing” with Katalon Studio. See the following discussion for related information:

- [As of Chrome 115, Tools \> Update WebDrivers \> Chrome no longer works - #12 by Elly\_Tran](http://forum.katalon.com/t/as-of-chrome-115-tools-update-webdrivers-chrome-no-longer-works/93200/12)

If you are determined to stick to the old version “112.0.5615.49”, you need to make Chrome in your docker image not to do auto-updating. You can google to find [how to](https://www.wikihow.com/Completely-Disable-Google-Chrome-Update).

---

<div class="post-metadata">

**Author:** ![goutham.samala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/goutham.samala1/32/23869_2.png) [@goutham.samala1](https://forum.katalon.com/u/goutham.samala1)\
**Post date:** [August 4, 2023, 10:23am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/6 "2023-08-04T10:23:54Z")

</div>

Hi @kazurayam

Chrome browser version is not updated. I am talking about katalon studio not getting launched when I had built the image with Chrome version 112.

I had posted the comparison between my custom image and the docker image of katalon studio from docker hub which uses different versions of browser.

The issue I am facing over here is after running my custom docker image, there is no progress after the logs  
Katalon Studio

- args=(“$KATALON\_KATALON\_INSTALL\_DIR/katalonc” “$@”)
- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc  
It got stuck permanently and katalon studio is not launched. But that is not the case when I run the katalon image pulled from katalon docker hub.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 4, 2023, 11:32am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/7 "2023-08-04T11:32:41Z")

</div>

@goutham.samala1

So your custom image has

1. Chrome browser version 112.x
2. Chrome Driver version 113.0.5672.24 bundled in the Katalon Studio 8.6.0

as you did not install ChromeDriver for Chrome v112.x

ChromeDriver v113.0.5672.24.x would fail to launch Chrome browser v112.x because of mismatching version.

If you want to launch Chrome browser v112.x, you need to install ChromeDriver of appropriate version

---

<div class="post-metadata">

**Author:** ![goutham.samala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/goutham.samala1/32/23869_2.png) [@goutham.samala1](https://forum.katalon.com/u/goutham.samala1)\
**Post date:** [August 4, 2023, 11:49am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/8 "2023-08-04T11:49:24Z")

</div>

1. Yes my custom image has 112.x. Please have a look at my set up file where I am installing chrome 112.x and when I run the command  
docker run -it --rm -v “$(pwd)”:/tmp/project gouthamsam/ks8.6.0:v1 katalonc.sh

Katalon studio is not getting launched. This is the issue

1. Katalan studio 8.6.5 has 114.x and when I run the command  
docker run -it --rm -v “$(pwd)”:/tmp/project katalonstudio/katalon katalonc.sh  
The katalon studio is launched

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 4, 2023, 11:50am UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/9 "2023-08-04T11:50:55Z")

</div>

> [@goutham.samala1](#):
>
> Katalon studio is not getting launched. This is the issue

I already wrote why.

> [@kazurayam](#):
>
> ChromeDriver v113.0.5672.24.x would fail to launch Chrome browser v112.x because of mismatching version.

Do you know what “ChromeDriver” is, what it does?  
Are you aware that you need the version of Chrome broser and ChromeDriver to be in sync?

Usually users will have, on their own PC, Chrome browser to be auto-updated to the latest version. And they will use “Tool \> Update WebDriver \> Chrome” menu to update the ChromeDriver to the latest version. So they will have browser and driver in synch.

Now you, @goutham.samala1, want to use Chrome browser v112 in your docker image. Then you are responsible to install an appropriate version of Chrome Driver into your image.

---

<div class="post-metadata">

**Author:** ![goutham.samala1](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/goutham.samala1/32/23869_2.png) [@goutham.samala1](https://forum.katalon.com/u/goutham.samala1)\
**Post date:** [August 4, 2023, 12:11pm UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/10 "2023-08-04T12:11:43Z")

</div>

1. I know what chromedriver does and I know both should be in sync.

2. Let me explain it again, say I build the image from the git repo [GitHub - katalon-studio/docker-images: Docker images for Katalon Studio and other frameworks](https://github.com/katalon-studio/docker-images/tree/master)  
**Command:** docker build -t katalon-katalon -f src/Dockerfile --build-arg KATALON\_STUDIO\_VERSION=8.6.5 .

3. When I run this command docker run -it --rm -v “$(pwd)”:/tmp/project katalon-katalon katalonc.sh

Expected result: Katalon studio should start and a default workspace will be created and then it look for api key  
Actual result: Katalon studio is not getting launched, it is getting stuck after this step

- echo Entrypoint

Entrypoint

- ‘[’ -z ‘’ ‘]’
- exec katalonc.sh
- echo ‘Starting Katalon Studio’

Starting Katalon Studio

- cat /katalon/version

Mozilla Firefox 114.0  
Google Chrome 114.0.5735.90

Microsoft Edge 113.0.1774.57

Katalon Studio

- args=(“$KATALON\_KATALON\_INSTALL\_DIR/katalonc” “$@”)
- xvfb-run -s ‘-screen 0 1024x768x24’ /opt/katalonstudio/katalonc

It is stuck at this point. This is my issue

1. But when I pull the katalon docker image 8.6.5 from dockerhub, it runs perfectly

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [August 4, 2023, 1:02pm UTC](https://forum.katalon.com/t/problems-with-custom-docker-image-with-chrome-browser-version-112/93272/11 "2023-08-04T13:02:14Z")

</div>

Please use “Code Formatting Syntax” to present command line operations, output from system, program source codes to present them differentiated from your descriptions in English for better readability.

 ![code formatting](https://europe1.discourse-cdn.com/katalon/original/3X/5/e/5e1176e92ca803beadcb58f98c2d0df8b9ae623d.png)
