docker / docker/cli

[Swarm] Add --until to docker service logs <Service>

Open
#5,935 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/swarm kind/feature status/0-triage
Dominant language
Go
Stars
6.1k
Forks
2.2k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Description

Hello,

i stumbled upon the docker compose command where you can filter logs with --since and --until. docker swarm has a simmilar command docker service logs --since but no --until Flag.

Would be nice to have it there :)

Ps: Great work with moby and docker. Thank you.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the docker service logs command and trace how the existing --since filter is handled. The work is done when the command also accepts --until and filters service logs accordingly; the issue does not name a source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.