Implement tail for docker logs

Fixes #4330

Here is first attempt. Docs and defaults needs discuss.
Perhaps explicitly set tail to "all" if it is "" earlier on?