title: How to clear Docker task history
body: <p>When running docker in swarm mode, a history of past tasks accumulate as docker services are updated. Running <code>docker node ps</code> displays the log of tasks. </p>
  
  <p><a href="https://i.stack.imgur.com/AkuhO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AkuhO.png" alt="enter image description here"></a></p>
  
  <p>How do I clear this log without removing the service?</p>