Open refractalize opened 8 years ago
I'm having this same issue. Seen in both docker-cloud 1.0.7 and docker-cloud 1.0.4
+1
+1
I'm resorting to this now in my CI pipeline: (docker-cloud container logs $CONTAINER) & sleep 15; kill $! 2> /dev/null || :
Hi - when running
docker-cloud service logs <name>
(with no--follow
) it will print out the logs as expected, but the process will not exit. I have toctrl-c
to get it to exit. I'm trying to automate deployment, and I want to print out logs after the deployment to show what happened in case there are issues. What I have to do now is pipe the logs to a file, let thedocker-cloud
process run for a few seconds, then kill it. It would be better if it just exited.For
--follow
, this behaviour seems perfectly fine, but not otherwise.Seen in version 1.0.7