Fixes the flags for nc

The `-p` flag for `nc` should not be used with `-l`.
Merge pull request #2421 from dudebout/patch-1

Fixes the flags for nc in example
add links to the Dockerfiles as canonical external requirements, add example of building and exposing the docs and simplify the Dockerfile for cacheability