docker/tests: use testinfra's host to run commands instead of subprocess
mostly for the sake of consistency.