Fix docker buffering