docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

Support --stop-timeout in run request (API 1.25)

Open Guluis opened this issue 7 years ago • 2 comments

API 1.25 added the --stop-timeout to the run command. It needs to be added to the docker API. https://docs.docker.com/engine/api/v1.25/#

Guluis avatar Oct 16 '19 06:10 Guluis

Stop-timeout is actually already supported for a while by the API https://github.com/docker/docker-py/blob/master/docker/api/container.py#L227

ndeloof avatar Oct 16 '19 13:10 ndeloof

Stop-timeout is actually already supported for a while by the API https://github.com/docker/docker-py/blob/master/docker/api/container.py#L227

Not really, stop_timeout is not being copied from run to create. But I just opened a PR to solve the issue.

kennylajara avatar Nov 10 '21 19:11 kennylajara