Docker: names, update port mapping support, add `publish_all_ports` flag, add container links

This builds on #5301, but adds updated port-mapping support and the `publish_all_ports` flag. It also supports container links. LMK if you have any questions!