Is it possible to completely disable HDMI_CEC

I’m running HA in docker on OSMC on a RPI3.
OSMC already has CEC set up which allows me to control Kodi via CEC.
As soon as HA starts it seems to stop CEC working on OSMC so I can no longer control Kodi.
I have removed hdmi_cec from configuration.yaml but the issue still occurs.

Is there a way to completely disable HDMI/CEC functionality in HA?

Any ideas?
I’ve tried uninstalling libcec from the docker image but doesn’t seem to actually remove it.

bash-4.4# apk del libcec
OK: 251 MiB in 162 packages
bash-4.4#

At this point I can still run cec-client and it still works
I tried removing cec-client from /usr/bin but HA is still breaking the kodi/osmc CEC functionality
How would I go about disabling access to HDMI/CEC to docker entirely?