Error: CEC is being used by another application

I want to run kodi in a container on my raspberry pi that is connected to my monitor via hdmi.
I am getting an error when trying to do so.

More specifically the following error related to cec is reported in a container log file on my raspberry pi.

13:01:13.847 T:1858069424  NOTICE: Running database version Addons27
13:01:13.851 T:1807737776  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
13:01:13.852 T:1782571952   ERROR: CecLogMessage - RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
13:01:13.852 T:1782571952   ERROR: CecLogMessage - Open - vc_cec could not be initialised
13:01:13.853 T:1782571952   ERROR: CecLogMessage - could not open a connection (try 1)
13:01:13.853 T:1858069424  NOTICE: Running database version ViewModes6

So it reports that CEC is being used by another application.
Note that I can not use tvservice to fix this as tvservice is not installed in my container nor in the Balena Host OS.

So how can I get rid of this error ?
Jan.