'A container with custom command line is run with those arguments.'

def test_command_line(self):

    external_port = find_free_port()[1]
    name = random_name(self)
    d = self.start_container(name, image_name=u'busybox', command_line=pvector([u'sh', u'-c', u'echo    -n    \'#!/bin/sh\necho    -n    "HTTP/1.1    200    OK\r\n\r\nhi"\n\'    >    /tmp/script.sh;\nchmod    +x    /tmp/script.sh;\nnc    -ll    -p    8080    -e    /tmp/script.sh\n']), ports=[PortMap(internal_port=8080, external_port=external_port)])
    d.addCallback((lambda ignored: self.request_until_response(external_port)))
    def started(response):
        d = content(response)
        d.addCallback((lambda body: self.assertEqual('hi', body)))
        return d
    d.addCallback(started)
    return d
