public function containerKill($container, $signal = null)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/containers/{container}/kill{?signal}',
                array(
                    'container' => $container,
                    'signal' => $signal
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function containerKill($container, $signal = null)
    {
        return $this->browser->post(
            $this->uri->expand(
                '/containers/{container}/kill{?signal}',
                array(
                    'container' => $container,
                    'signal' => $signal
                )
            )
        )->then(array($this->parser, 'expectEmpty'));
    }
public function containerKill ( $ container , $ signal = null ) { return $ this -> browser -> post ( $ this -> uri -> expand ( '/containers/{container}/kill{?signal}' , array ( 'container' => $ container , 'signal' => $ signal ) ) ) -> then ( array ( $ this -> parser , 'expectEmpty' ) ) ; }
Kill the container id

@param string          $container container ID
@param string|int|null $signal    (optional) signal name or number
@return PromiseInterface Promise<null>
@link https://docs.docker.com/reference/api/docker_remote_api_v1.15/#kill-a-container
Kill the container id