dockerode icon indicating copy to clipboard operation
dockerode copied to clipboard

Inconsistent Responses with stop and remove methods.

Open BelkeriSai opened this issue 3 years ago • 0 comments

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()

BelkeriSai avatar Aug 05 '21 16:08 BelkeriSai