docker: fixed issue with exposed ports.

related to #623.