diff --git a/docker-exec-via-sock.sh b/docker-exec-via-sock.sh index 347819e..f0fd3fd 100644 --- a/docker-exec-via-sock.sh +++ b/docker-exec-via-sock.sh @@ -192,7 +192,7 @@ fi docker_api_base="http://localhost/${DOCKER_API_VERSION}" exec_create_endpoint="${docker_api_base}/containers/${CONTAINER_NAME}/exec" -log "executing command in container $CONTAINER_NAME" +log "executing command in container '$CONTAINER_NAME': $CMD_TO_EXEC" if ! exec_id=$(docker_exec_create "command" "$CMD_TO_EXEC"); then exit 1