Hooks with Docker

I am trying to run Docker. I have a Test Suite where I am running as Chrome (headless). The Test Suite refers to a Test Case where it runs a feature file. With that feature file, there are before hooks. I see in the console that it:

CONSOLE:

  • START TestCase/Feature Test Case/example
    -1: runFeatureFile(“Include/features/example.feature”)
    -Starting run keyword runFeatureFile:
    -START SCENARIO Example Scenario
    -STEP This is my first step
    -Cannot take screenshot
    -? Unable to click on object: —

docker-compose.yml
version: ‘3.3’
services:
katalon:
image: katalonstudio/katalon:latest
container_name: katalon
hostname: katalon
volumes:
- .:/katalon/katalon/source
entrypoint: katalon-execute.sh
command:
- --browserType=Chrome (headless)
- --retry=0
- --testSuitePath=Test Suites/ExampleTestSuiteAsTestCaseFeatureLink
- --executionProfile=default
- --config
–config things–

Is there anything that I could be doing to where I could make it use the hooks like it would when it runs by pressing the play button?