Skip to content

Conversation

ShadowArcanist
Copy link
Member

Docker Deprecated --time option for the docker stop, docker container stop, docker restart, and docker container restart commands in release: v28.0 - https://docs.docker.com/engine/deprecated/#--time-option-on-docker-stop-and-docker-restart

--time = works <28 but deprecated ≥28
--timeout = fails <28, works ≥28
-t = works on all versions

So I changed the --time to -t so it works on all versions of docker engine.

Note: I tested restarting and stopping apps, services, databases and proxy, it's working fine for me on dev but please do double check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant