Error "Msg 10054, level 20, State 0, Line 0" with MSSQL under Docker
I've solved the issue by making use of the oficial MSSQL image from Microsoft, as I was using a custom Ubuntu 16.04 LTS + MSSQL packages. All the data was stored within a volume, so the transition from one container to the new was easy.

EDIT:
The previous didn't actually solve the problem. The real issue was that I was querying too much data. Querying an extensive dataset implied a huge RAM consumption, as much as it was permitted. I wasn't limiting it at all, so when reached the maximum amount of RAM available, the OS (dispatcher) would kill the process. The solution has resulted to configure a memory limit.