Docker Community Forums

Share and learn in the Docker community.

/containers/{id}/logs api doesnt behave as it should

(Kahmed) #1

hi, dealing with this unexpected behavior of the latest engine API to get container logs. Params mentioned like tail, and follow doesn’t really take effect …seems like a bug or have to tweak anything else somewhere ? For a following request like that it always returns all the logs, and keeps the connection alive to stream it further even tho specified not to follow.