Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Missing until params #1427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mortharia opened this issue Jul 7, 2020 · 7 comments · May be fixed by #1429
Open

Missing until params #1427

mortharia opened this issue Jul 7, 2020 · 7 comments · May be fixed by #1429

Comments

@mortharia
Copy link

mortharia commented Jul 7, 2020

According to https://docs.docker.com/engine/reference/commandline/container_logs/, we can use the "until" option in the docker logs command. Why this param is not supported in the LogContainerCmd?

@bsideup
Copy link
Member

bsideup commented Jul 7, 2020

You should be using at the API, not CLI:
https://docs.docker.com/engine/api/v1.40/#operation/ContainerLogs

the parameter is called follow.

@bsideup bsideup closed this as completed Jul 7, 2020
@mortharia
Copy link
Author

No, "follow" is used to keep connection after returning logs. I am talking about the "until" params!

@bsideup
Copy link
Member

bsideup commented Jul 7, 2020

@mortharia sorry, I should have got my morning cup of coffee before reading the issues 😅

yes, until seems to be missing. Do you want to contribute it?

@mortharia
Copy link
Author

yes.

@mortharia mortharia linked a pull request Jul 8, 2020 that will close this issue
@mortharia
Copy link
Author

mortharia commented Jul 9, 2020

It's done! would it be possible to include it in the next release, please?

thank you

@metcox
Copy link

metcox commented Jul 16, 2020

Hi,
is there any progress on this issue, I also need this feature. Thanks for your work, really helpful project.

@sawyersong2
Copy link

I also need this help, is there any progress? Thank you very much for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants