Shell command execute docker exec

Hi Guys,

I’m tyring to execute a docker exec command via a shell command.

  XY: bash /config/ "{{ value }}"

Within the sh file I want to execute a docker exec command to control a docker container which is running on Home Assistant.

The sh-File is successfully called but the docker command is not executed.

If I run the command directly via shell (protection off) it works.

So is it possible to deacitvate the protection mode to execute a docker command via an button or switch from a normal HA frontend?

What OS/HA install are you using?

I’m using hassio in the last stable version 4.12.

I am sure that the path /config/ is wrong - unless this is a script you wrote?

that is my script I wrote. File and path is correct.