Fix port forwarding management for docker container and host