Added map service ports option for run command.

When using the fig run command, ports defined in fig.yml can be mapped
to the host computer using the -service-ports option.

Signed-off-by: Stephen Quebe <squebe@gmail.com>
Add dns_search support in yml config

Signed-off-by: Mohammad Salehe <salehe@gmail.com>
Fix typo in dns_search documentation

Signed-off-by: Mohammad Salehe <salehe+dev@gmail.com>
Merge pull request #476 from salehe/dns-search

Add dns_search support in yml config
Merge pull request #485 from squebe/run-service-ports

Added map service ports option for run command.
Fix truncated output in `fig run` - resolves #658

Signed-off-by: Michael Malet <MichaelMa@square-enix.com>
Factor out container option mapping into its own method

Signed-off-by: Michael Malet <MichaelMa@square-enix.com>
Use dockerpty.PseudoTerminal so that options can be supported

Signed-off-by: Michael Malet <MichaelMa@square-enix.com>
Patch PseudoTerminal instead in tests

Signed-off-by: Michael Malet <MichaelMa@square-enix.com>