dockerode
dockerode copied to clipboard
Inconsistent Responses with stop and remove methods.
The Responses are a little inconsistent. or my Understanding is wrong?
In case of container.stop()
- The message/ response is being sent in reason
but in case of container.remove()
- The message is being sent in json.message
Specially I see this in case of Error 409 - "Container still running/not stopped" case in the container.remove()