Open ghost opened 6 years ago
I am pulling splunk/universalforwarder:7.0.0-monitor
and this is the content of the docker_service.sh script (the docker service ls command at the end of the file)
DOCKER_BIN=$(dirname "$0")/docker "$DOCKER_BIN" service ls \ | tail -n +2 \ | sed -e "s/,/ /g" \ | sed -E "s/\s\s+/,/g"
docker service ls | tail -n +2 | sed -e "s/ /,/g"
I am pulling splunk/universalforwarder:7.0.0-monitor
and this is the content of the docker_service.sh script (the docker service ls command at the end of the file)
!/bin/bash
DOCKER_BIN=$(dirname "$0")/docker "$DOCKER_BIN" service ls \ | tail -n +2 \ | sed -e "s/,/ /g" \ | sed -E "s/\s\s+/,/g"
docker service ls | tail -n +2 | sed -e "s/ /,/g"