docker_cli: Fix failif logic problem in attach tests.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
subtest: Fix run test for new different behavior of cmdresults.

Signed-off-by: Jiří Župka <jzupka@redhat.com>
Merge branch 'attach_fix_c' of https://github.com/jzupka/autotest-docker
subtests...attach: Log more details

*  Removed depreciated call to dkrcmd.update_result()
*  Made all dkrcmd debug logging send entire cmdresult to debug log

Signed-off-by: Chris Evich <cevich@redhat.com>
Docker: Add flag test

*  Simple test to run docker command with various invalid
   options/arguments
*  Added default configuration
*  Updated documentation

Signed-off-by: Xiaonan He <xhe@redhat.com>
Update case iptable

* Replace os.popen with utils.run.
* Decorating few function with staticmethod.
* Code format improved.
* Few typo issue fixed.
* Update doc that indicates outside command should work well.

Signed-off-by: Time Su <lsu@redhat.com>
Fix few typo issues and adjust code format

*Add a short sleep in case run too fast to add iptable rule

Signed-off-by: Time Su <lsu@redhat.com>
Replace time.sleep with busy loop method

Signed-off-by: Time Su <lsu@redhat.com>