how get logs for docker service tasks on “preparing” state

前端 未结 2 1272
萌比男神i
萌比男神i 2021-02-20 04:39

I\'m playing around now with docker 1.12, created a service and noticed there is a stage of \"preparing\" when I ran \"docker service tasks xxx\".

2条回答
  •  梦毁少年i
    2021-02-20 05:39

    Your assumption (about pulling during preparation) is correct.

    There is no log command yet for tasks, but you could certainly connect to that daemon and do docker logs in the regular way.

提交回复
热议问题