Skip to content

Commit

Permalink
#351: use docker logs not tail
Browse files Browse the repository at this point in the history
  • Loading branch information
binocarlos committed Mar 22, 2018
1 parent 9dfe30f commit 6bc0663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/dotmesh-server/require_zfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ done
# we need the logs from the inner server to be sent to the outer container
# such that k8s will pick them up from the pod - the inner container is not
# a pod but a container run from /var/run/docker.sock
(while true; do docker tail -f dotmesh-server-inner || true; sleep 1; done) &
(while true; do docker logs -f dotmesh-server-inner || true; sleep 1; done) &

# In order of the -v options below:
# 1. Mount the docker socket so that we can stop and start containers around
Expand Down

0 comments on commit 6bc0663

Please sign in to comment.