这是indexloc提供的服务,不要输入任何密码
Skip to content

Docker exec options #1

@rossdargan

Description

@rossdargan

I'd love to be able to execute a script using this within another docker. I have a docker container and currently I execute the following from the host:

docker exec alarm-mqtt ./bin/get-mode.pl

What I would love to be able to do is the following as a post:

http://127.0.0.1:8126/container/home-assistant/exec?command=./bin/get-mode.pl

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions