executes a command in all service instances on every node in a swarm cluster
10K+
executes a command in docker service
docker service create \
--detach \
--name docker-service-exec-test \
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock \
--mode global \
--restart-condition none \
pdbs/docker-service-exec \
<service-name> <command>
executes in instance of . is a single string whithout whitespace. The service has to be removed prior to next execution.
Content type
Image
Digest
sha256:ec9348501…
Size
134.4 MB
Last updated
4 months ago
docker pull pdbs/docker-service-exec