Cannot take screenshot in docker for failed test case which is passing in my local

Test case is passing in my local, when I run on docker Its failing for WebElementNotFoundException.

2021-06-16T21:58:50.733Z] [DEBUG]: 2021-06-16 21:58:50.732 WARN c.k.k.c.w.h.s.WebUIScreenCaptor - Cannot take screenshot

[2021-06-16T21:58:50.755Z] [DEBUG]: 2021-06-16 21:58:50.753 ERROR c.k.k.core.keyword.internal.KeywordMain - ? com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Patients and Analytics/Patient Management/btn_actions’ located by ‘//div[text()=‘Actions’]’ not found (Root cause: com.kms.katalon.core.exception.StepFailedException: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Patients and Analytics/Patient Management/btn_actions’ located by ‘//div[text()=‘Actions’]’ not found.

Issue is there for only few of my scripts.