Reputation: 33
Is there a way to issue a docker command to another container within a different one such as docker stop
? I am not sure if this is even possible, but are there any valid workarounds for this? Thanks.
Upvotes: 0
Views: 68
Reputation: 13085
Sure. Mount the docker socket into a container, something like:
-v /var/run/docker.sock:/var/run/docker.sock
Then issue API Commands. For reference, checkout DockerUI.
Upvotes: 1